Consistent use of @deprecated since
Restore the patch version number for consistency with `@since` tags. See gh-25808
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user