From 16c0f035a90e67d5145b99ea34038f37ade0944f Mon Sep 17 00:00:00 2001 From: Vaibhav Jaiswal Date: Mon, 22 Jan 2024 18:11:28 +0530 Subject: [PATCH 1/2] Make PropagationType a public type The PropagationType enum is returned from public methods so should be public itself. See gh-39265 --- .../boot/actuate/autoconfigure/tracing/TracingProperties.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/tracing/TracingProperties.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/tracing/TracingProperties.java index 6f598cc41b9..7bbff40574b 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/tracing/TracingProperties.java +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/tracing/TracingProperties.java @@ -224,7 +224,7 @@ public class TracingProperties { /** * Supported propagation types. The declared order of the values matter. */ - enum PropagationType { + public enum PropagationType { /** * W3C propagation. From 87ea2b75fb14ed5c69f8a9677f75fc367e2ec3e6 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Mon, 22 Jan 2024 11:49:45 -0800 Subject: [PATCH 2/2] Polish 'Make PropagationType a public type' See gh-39265 --- .../boot/actuate/autoconfigure/tracing/TracingProperties.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/tracing/TracingProperties.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/tracing/TracingProperties.java index 7bbff40574b..c38ef94d125 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/tracing/TracingProperties.java +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/tracing/TracingProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2023 the original author or authors. + * Copyright 2012-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.