Skip to content

Commit 26dd1b9

Browse files
committed
Update deprecations with for removal targets
Update all deprecation tags to include a removal target. Closes gh-25808
1 parent 896f20e commit 26dd1b9

File tree

57 files changed

+150
-124
lines changed

Some content is hidden

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

57 files changed

+150
-124
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/ExposeExcludePropertyEndpointFilter.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -30,7 +30,8 @@
3030
* @param <E> the endpoint type
3131
* @author Phillip Webb
3232
* @since 2.0.0
33-
* @deprecated since 2.2.7 in favor of {@link IncludeExcludeEndpointFilter}
33+
* @deprecated since 2.2.7 for removal in 2.4 in favor of
34+
* {@link IncludeExcludeEndpointFilter}
3435
*/
3536
@Deprecated
3637
public class ExposeExcludePropertyEndpointFilter<E extends ExposableEndpoint<?>>

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -34,7 +34,8 @@
3434
* @param <S> the bean source type
3535
* @author Stephane Nicoll
3636
* @since 2.0.0
37-
* @deprecated since 2.2.0 in favor of {@link CompositeHealthContributorConfiguration}
37+
* @deprecated since 2.2 for removal in 2.4 in favor of
38+
* {@link CompositeHealthContributorConfiguration}
3839
*/
3940
@Deprecated
4041
public abstract class CompositeHealthIndicatorConfiguration<H extends HealthIndicator, S> {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -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.0 in favor of
36+
* @deprecated since 2.2 for removal in 2.4 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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -29,7 +29,8 @@
2929
* @author Phillip Webb
3030
* @author Vedran Pavic
3131
* @since 2.0.0
32-
* @deprecated since 2.2.0 in favor of {@link HealthContributorAutoConfiguration}
32+
* @deprecated since 2.2 for removal in 2.4 in favor of
33+
* {@link HealthContributorAutoConfiguration}
3334
*/
3435
@Deprecated
3536
@Configuration(proxyBeanMethods = false)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -29,7 +29,7 @@
2929
*
3030
* @author Christian Dupuis
3131
* @since 2.0.0
32-
* @deprecated since 2.2.0 in favor of {@link HealthEndpointProperties}
32+
* @deprecated since 2.2 for removal in 2.4 in favor of {@link HealthEndpointProperties}
3333
*/
3434
@Deprecated
3535
@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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -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 as of 2.3.0 in favor of {@link #valueOf(double)}
100+
* @deprecated since 2.3 for removal in 2.5 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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -27,7 +27,8 @@
2727
*
2828
* @author Phillip Webb
2929
* @since 2.0.0
30-
* @deprecated as of 2.3.0 in favor of {@link ServiceLevelObjectiveBoundary}
30+
* @deprecated since 2.3 for removal in 2.5 in favor of
31+
* {@link ServiceLevelObjectiveBoundary}
3132
*/
3233
@Deprecated
3334
public final class ServiceLevelAgreementBoundary {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -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 as of 2.3.0 to make it package-private in 2.4
113+
* @deprecated as of 2.3 to make package-private in 2.4
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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -28,7 +28,8 @@
2828
* @author Christian Dupuis
2929
* @author Vedran Pavic
3030
* @since 1.1.0
31-
* @deprecated since 2.2.0 as {@link HealthAggregator} has been deprecated
31+
* @deprecated since 2.2 for removal in 2.4 as {@link HealthAggregator} has been
32+
* deprecated
3233
*/
3334
@Deprecated
3435
public abstract class AbstractHealthAggregator implements HealthAggregator {

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -26,7 +26,8 @@
2626
* @author Phillip Webb
2727
* @author Christian Dupuis
2828
* @since 1.1.0
29-
* @deprecated since 2.2.0 in favor of a {@link CompositeHealthContributor}
29+
* @deprecated since 2.2 for removal in 2.4 in favor of a
30+
* {@link CompositeHealthContributor}
3031
*/
3132
@Deprecated
3233
public class CompositeHealthIndicator implements HealthIndicator {

0 commit comments

Comments
 (0)