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

@@ -30,7 +30,7 @@ import org.springframework.boot.ApplicationRunner;
* @author Jean-Pierre Bergamin
* @author Mahmoud Ben Hassine
* @since 1.0.0
* @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 JobLauncherApplicationRunner}
*/
@Deprecated

View File

@@ -43,7 +43,7 @@ public class MongoClientFactory extends MongoClientFactorySupport<MongoClient> {
* Construct a factory for creating a blocking {@link MongoClient}.
* @param properties configuration properties
* @param environment a Spring {@link Environment} containing configuration properties
* @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 #MongoClientFactory(MongoProperties, Environment, List)}
*/
@Deprecated

View File

@@ -51,7 +51,7 @@ import org.springframework.util.StringUtils;
* @author Phillip Webb
* @author Andy Wilkinson
* @author Kazuki Shimizu
* @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

@@ -50,7 +50,7 @@ public class WebConversionService extends DefaultFormattingConversionService {
* Create a new WebConversionService that configures formatters with the provided date
* format, or register the default ones if no custom format is provided.
* @param dateFormat the custom date format to use for date conversions
* @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 #WebConversionService(DateTimeFormatters)}
*/
@Deprecated

View File

@@ -135,7 +135,7 @@ public abstract class AbstractErrorWebExceptionHandler implements ErrorWebExcept
* @param request the source request
* @param includeStackTrace whether to include the error stacktrace information
* @return the error attributes as a Map
* @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

@@ -75,7 +75,7 @@ public abstract class AbstractErrorController implements ErrorController {
* @param request the source request
* @param includeStackTrace if stack trace elements should be included
* @return the 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(HttpServletRequest, ErrorAttributeOptions)}
*/
@Deprecated