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

@@ -738,7 +738,7 @@ public class SpringApplication {
/**
* Refresh the underlying {@link ApplicationContext}.
* @param applicationContext the application context to refresh
* @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 #refresh(ConfigurableApplicationContext)}
*/
@Deprecated

View File

@@ -38,7 +38,7 @@ import org.springframework.core.annotation.AnnotationUtils;
*
* @author Dave Syer
* @since 1.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 ConfigurationPropertiesBean}
*/
@Deprecated

View File

@@ -32,7 +32,7 @@ import org.springframework.core.Ordered;
*
* @author Phillip Webb
* @since 1.2.0
* @deprecated since 2.3 for removal in 2.5 as the Bitronix project is no longer being
* @deprecated since 2.3.0 for removal in 2.5.0 as the Bitronix project is no longer being
* maintained
*/
@Deprecated

View File

@@ -27,7 +27,7 @@ import org.springframework.boot.jms.XAConnectionFactoryWrapper;
*
* @author Phillip Webb
* @since 1.2.0
* @deprecated since 2.3 for removal in 2.5 as the Bitronix project is no longer being
* @deprecated since 2.3.0 for removal in 2.5.0 as the Bitronix project is no longer being
* maintained
*/
@Deprecated

View File

@@ -26,7 +26,7 @@ import org.springframework.boot.jdbc.XADataSourceWrapper;
*
* @author Phillip Webb
* @since 1.2.0
* @deprecated since 2.3 for removal in 2.5 as the Bitronix project is no longer being
* @deprecated since 2.3.0 for removal in 2.5.0 as the Bitronix project is no longer being
* maintained
*/
@Deprecated

View File

@@ -41,7 +41,7 @@ import org.springframework.util.StringUtils;
* @author Josh Long
* @author Andy Wilkinson
* @since 1.2.0
* @deprecated since 2.3 for removal in 2.5 as the Bitronix project is no longer being
* @deprecated since 2.3.0 for removal in 2.5.0 as the Bitronix project is no longer being
* maintained
*/
@Deprecated

View File

@@ -42,7 +42,7 @@ import org.springframework.util.StringUtils;
* @author Josh Long
* @author Andy Wilkinson
* @since 1.2.0
* @deprecated since 2.3 for removal in 2.5 as the Bitronix project is no longer being
* @deprecated since 2.3.0 for removal in 2.5.0 as the Bitronix project is no longer being
* maintained
*/
@Deprecated

View File

@@ -16,7 +16,7 @@
/**
* Support classes for Bitronix JTA.
* @deprecated since 2.3 for removal in 2.5 as the Bitronix project is no longer being
* @deprecated since 2.3.0 for removal in 2.5.0 as the Bitronix project is no longer being
* maintained
*/
package org.springframework.boot.jta.bitronix;

View File

@@ -51,7 +51,7 @@ public class UndertowServletWebServer extends UndertowWebServer {
* @param contextPath the root context path
* @param autoStart if the server should be started
* @param compression compression configuration
* @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 #UndertowServletWebServer(io.undertow.Undertow.Builder, Iterable, String, boolean)}
*/
@Deprecated
@@ -68,7 +68,7 @@ public class UndertowServletWebServer extends UndertowWebServer {
* @param useForwardHeaders if x-forward headers should be used
* @param autoStart if the server should be started
* @param compression compression configuration
* @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 #UndertowServletWebServer(io.undertow.Undertow.Builder, Iterable, String, boolean)}
*/
@Deprecated
@@ -86,7 +86,7 @@ public class UndertowServletWebServer extends UndertowWebServer {
* @param autoStart if the server should be started
* @param compression compression configuration
* @param serverHeader string to be used in HTTP header
* @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 #UndertowServletWebServer(io.undertow.Undertow.Builder, Iterable, String, boolean)}
*/
@Deprecated

View File

@@ -92,7 +92,7 @@ public class UndertowWebServer implements WebServer {
* @param autoStart if the server should be started
* @param closeable called when the server is stopped
* @since 2.0.4
* @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 #UndertowWebServer(io.undertow.Undertow.Builder, Iterable, boolean)}
*/
@Deprecated

View File

@@ -75,7 +75,7 @@ public class DefaultErrorAttributes implements ErrorAttributes {
/**
* Create a new {@link DefaultErrorAttributes} instance.
* @param includeException whether to include the "exception" attribute
* @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 ErrorAttributeOptions#including(Include...)}
*/
@Deprecated

View File

@@ -41,7 +41,7 @@ public interface ErrorAttributes {
* @param request the source request
* @param includeStackTrace if stack trace attribute should be included
* @return a map of error attributes
* @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 #getErrorAttributes(ServerRequest, ErrorAttributeOptions)}
*/
@Deprecated

View File

@@ -81,7 +81,7 @@ public class DefaultErrorAttributes implements ErrorAttributes, HandlerException
/**
* Create a new {@link DefaultErrorAttributes} instance.
* @param includeException whether to include the "exception" attribute
* @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 ErrorAttributeOptions#including(Include...)}
*/
@Deprecated

View File

@@ -42,7 +42,7 @@ public interface ErrorAttributes {
* @param webRequest the source request
* @param includeStackTrace if stack trace element should be included
* @return a map of error attributes
* @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 #getErrorAttributes(WebRequest, ErrorAttributeOptions)}
*/
@Deprecated

View File

@@ -33,7 +33,7 @@ public interface ErrorController {
* The return value from this method is not used; the property `server.error.path`
* must be set to override the default error page path.
* @return the error path
* @deprecated since 2.3 for removal in 2.5 in favor of setting the property
* @deprecated since 2.3.0 for removal in 2.5.0 in favor of setting the property
* `server.error.path`
*/
@Deprecated