Consistent use of @deprecated since

Restore the patch version number for consistency with `@since`
tags.

See gh-25808
This commit is contained in:
Phillip Webb
2021-03-30 09:17:24 -07:00
parent 8b6eef6f1d
commit 9c8a97809d
47 changed files with 61 additions and 57 deletions

View File

@@ -110,7 +110,7 @@ public class CachingOperationInvoker implements OperationInvoker {
* @param timeToLive the maximum time in milliseconds that a response can be cached
* @return a caching version of the invoker or the original instance if caching is not
* required
* @deprecated since 2.3 for removal in 2.5
* @deprecated since 2.3.0 for removal in 2.5.0
*/
@Deprecated
public static OperationInvoker apply(OperationInvoker invoker, long timeToLive) {

View File

@@ -28,7 +28,7 @@ import java.util.stream.Collectors;
* @author Christian Dupuis
* @author Vedran Pavic
* @since 1.1.0
* @deprecated since 2.2 for removal in 2.4 as {@link HealthAggregator} has been
* @deprecated since 2.2.0 for removal in 2.4.0 as {@link HealthAggregator} has been
* deprecated
*/
@Deprecated

View File

@@ -26,7 +26,7 @@ import java.util.Map;
* @author Phillip Webb
* @author Christian Dupuis
* @since 1.1.0
* @deprecated since 2.2 for removal in 2.4 in favor of a
* @deprecated since 2.2.0 for removal in 2.4.0 in favor of a
* {@link CompositeHealthContributor}
*/
@Deprecated

View File

@@ -30,7 +30,7 @@ import reactor.util.function.Tuple2;
*
* @author Stephane Nicoll
* @since 2.0.0
* @deprecated since 2.2 for removal in 2.4 in favor of a
* @deprecated since 2.2.0 for removal in 2.4.0 in favor of a
* {@link CompositeReactiveHealthContributor}
*/
@Deprecated

View File

@@ -28,7 +28,8 @@ import org.springframework.util.Assert;
* @author Vedran Pavic
* @author Stephane Nicoll
* @since 2.1.0
* @deprecated since 2.2 for removal in 2.4 in favor of {@link DefaultContributorRegistry}
* @deprecated since 2.2.0 for removal in 2.4.0 in favor of
* {@link DefaultContributorRegistry}
*/
@Deprecated
public class DefaultHealthIndicatorRegistry implements HealthIndicatorRegistry {

View File

@@ -28,7 +28,8 @@ import org.springframework.util.Assert;
* @author Vedran Pavic
* @author Stephane Nicoll
* @since 2.1.0
* @deprecated since 2.2 for removal in 2.4 in favor of {@link DefaultContributorRegistry}
* @deprecated since 2.2.0 for removal in 2.4.0 in favor of
* {@link DefaultContributorRegistry}
*/
@Deprecated
public class DefaultReactiveHealthIndicatorRegistry implements ReactiveHealthIndicatorRegistry {

View File

@@ -32,7 +32,7 @@ import java.util.Map;
*
* @author Christian Dupuis
* @since 1.1.0
* @deprecated since 2.2 for removal in 2.4 in favor of {@link StatusAggregator}
* @deprecated since 2.2.0 for removal in 2.4.0 in favor of {@link StatusAggregator}
*/
@FunctionalInterface
@Deprecated

View File

@@ -22,7 +22,7 @@ package org.springframework.boot.actuate.health;
* @author Stephane Nicoll
* @author Phillip Webb
* @since 2.0.0
* @deprecated since 2.2 for removal in 2.4 in favor of
* @deprecated since 2.2.0 for removal in 2.4.0 in favor of
* {@link HealthContributorNameFactory}
*/
@Deprecated

View File

@@ -27,7 +27,7 @@ import org.springframework.util.Assert;
*
* @author Stephane Nicoll
* @since 2.0.0
* @deprecated since 2.2 for removal in 2.4 in favor of
* @deprecated since 2.2.0 for removal in 2.4.0 in favor of
* {@link ReactiveHealthContributor#adapt(HealthContributor)}
* @see ReactiveHealthContributor#adapt(HealthContributor)
*/

View File

@@ -28,7 +28,7 @@ import java.util.Map;
* @author Stephane Nicoll
* @since 2.1.0
* @see HealthEndpoint
* @deprecated since 2.2 for removal in 2.4 in favor of a
* @deprecated since 2.2.0 for removal in 2.4.0 in favor of a
* {@link HealthContributorRegistry}
*/
@Deprecated

View File

@@ -26,7 +26,7 @@ import org.springframework.util.Assert;
*
* @author Stephane Nicoll
* @since 2.1.0
* @deprecated since 2.2 for removal in 2.4 in favor of
* @deprecated since 2.2.0 for removal in 2.4.0 in favor of
* {@link DefaultHealthIndicatorRegistry}
*/
@Deprecated

View File

@@ -32,7 +32,7 @@ import org.springframework.util.Assert;
*
* @author Christian Dupuis
* @since 1.1.0
* @deprecated since 2.2 for removal in 2.4 in favor of {@link SimpleStatusAggregator}
* @deprecated since 2.2.0 for removal in 2.4.0 in favor of {@link SimpleStatusAggregator}
*/
@Deprecated
public class OrderedHealthAggregator extends AbstractHealthAggregator {

View File

@@ -28,7 +28,7 @@ import java.util.Map;
* @author Stephane Nicoll
* @since 2.1.0
* @see HealthIndicatorRegistry
* @deprecated since 2.2 for removal in 2.4 in favor of a
* @deprecated since 2.2.0 for removal in 2.4.0 in favor of a
* {@link ReactiveHealthContributorRegistry}
*/
@Deprecated

View File

@@ -28,7 +28,7 @@ import org.springframework.util.ObjectUtils;
*
* @author Stephane Nicoll
* @since 2.1.0
* @deprecated since 2.2 for removal in 2.4 in favor of
* @deprecated since 2.2.0 for removal in 2.4.0 in favor of
* {@link DefaultReactiveHealthIndicatorRegistry}
*/
@Deprecated

View File

@@ -99,7 +99,7 @@ public final class WebClientExchangeTags {
* {@link ClientResponse#statusCode()} of the given {@code response}.
* @param response the response
* @return the status tag
* @deprecated since 2.3 for removal in 2.5 in favor of
* @deprecated since 2.3.0 for removal in 2.5.0 in favor of
* {@link #status(ClientResponse, Throwable)}
*/
@Deprecated
@@ -112,7 +112,7 @@ public final class WebClientExchangeTags {
* client.
* @param throwable the exception
* @return the status tag
* @deprecated since 2.3 for removal in 2.5 in favor of
* @deprecated since 2.3.0 for removal in 2.5.0 in favor of
* {@link #status(ClientResponse, Throwable)}
*/
@Deprecated