Skip to content

Commit 9c8a978

Browse files
committed
Consistent use of @deprecated since
Restore the patch version number for consistency with `@since` tags. See gh-25808
1 parent 8b6eef6 commit 9c8a978

File tree

47 files changed

+61
-57
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+61
-57
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/health/CompositeHealthIndicatorConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* @param <S> the bean source type
3535
* @author Stephane Nicoll
3636
* @since 2.0.0
37-
* @deprecated since 2.2 for removal in 2.4 in favor of
37+
* @deprecated since 2.2.0 for removal in 2.4.0 in favor of
3838
* {@link CompositeHealthContributorConfiguration}
3939
*/
4040
@Deprecated

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/health/CompositeReactiveHealthIndicatorConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* @param <S> the bean source type
3434
* @author Stephane Nicoll
3535
* @since 2.0.0
36-
* @deprecated since 2.2 for removal in 2.4 in favor of
36+
* @deprecated since 2.2.0 for removal in 2.4.0 in favor of
3737
* {@link CompositeReactiveHealthContributorConfiguration}
3838
*/
3939
@Deprecated

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/health/HealthIndicatorAutoConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* @author Phillip Webb
3030
* @author Vedran Pavic
3131
* @since 2.0.0
32-
* @deprecated since 2.2 for removal in 2.4 in favor of
32+
* @deprecated since 2.2.0 for removal in 2.4.0 in favor of
3333
* {@link HealthContributorAutoConfiguration}
3434
*/
3535
@Deprecated

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/health/HealthIndicatorProperties.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
*
3030
* @author Christian Dupuis
3131
* @since 2.0.0
32-
* @deprecated since 2.2 for removal in 2.4 in favor of {@link HealthEndpointProperties}
32+
* @deprecated since 2.2.0 for removal in 2.4.0 in favor of
33+
* {@link HealthEndpointProperties}
3334
*/
3435
@Deprecated
3536
@ConfigurationProperties(prefix = "management.health.status")

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/MeterValue.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public static MeterValue valueOf(String value) {
9797
* Return a new {@link MeterValue} instance for the given long value.
9898
* @param value the source value
9999
* @return a {@link MeterValue} instance
100-
* @deprecated since 2.3 for removal in 2.5 in favor of {@link #valueOf(double)}
100+
* @deprecated since 2.3.0 for removal in 2.5.0 in favor of {@link #valueOf(double)}
101101
*/
102102
@Deprecated
103103
public static MeterValue valueOf(long value) {

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/ServiceLevelAgreementBoundary.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*
2828
* @author Phillip Webb
2929
* @since 2.0.0
30-
* @deprecated since 2.3 for removal in 2.5 in favor of
30+
* @deprecated since 2.3.0 for removal in 2.5.0 in favor of
3131
* {@link ServiceLevelObjectiveBoundary}
3232
*/
3333
@Deprecated

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/invoker/cache/CachingOperationInvoker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ private CachedResponse createCachedResponse(Object response, long accessTime) {
110110
* @param timeToLive the maximum time in milliseconds that a response can be cached
111111
* @return a caching version of the invoker or the original instance if caching is not
112112
* required
113-
* @deprecated since 2.3 for removal in 2.5
113+
* @deprecated since 2.3.0 for removal in 2.5.0
114114
*/
115115
@Deprecated
116116
public static OperationInvoker apply(OperationInvoker invoker, long timeToLive) {

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/AbstractHealthAggregator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* @author Christian Dupuis
2929
* @author Vedran Pavic
3030
* @since 1.1.0
31-
* @deprecated since 2.2 for removal in 2.4 as {@link HealthAggregator} has been
31+
* @deprecated since 2.2.0 for removal in 2.4.0 as {@link HealthAggregator} has been
3232
* deprecated
3333
*/
3434
@Deprecated

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/CompositeHealthIndicator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* @author Phillip Webb
2727
* @author Christian Dupuis
2828
* @since 1.1.0
29-
* @deprecated since 2.2 for removal in 2.4 in favor of a
29+
* @deprecated since 2.2.0 for removal in 2.4.0 in favor of a
3030
* {@link CompositeHealthContributor}
3131
*/
3232
@Deprecated

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/CompositeReactiveHealthIndicator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
*
3131
* @author Stephane Nicoll
3232
* @since 2.0.0
33-
* @deprecated since 2.2 for removal in 2.4 in favor of a
33+
* @deprecated since 2.2.0 for removal in 2.4.0 in favor of a
3434
* {@link CompositeReactiveHealthContributor}
3535
*/
3636
@Deprecated

0 commit comments

Comments
 (0)