diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/server/ManagementServerProperties.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/server/ManagementServerProperties.java index ea3cbab4f6..48713cff20 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/server/ManagementServerProperties.java +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/server/ManagementServerProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -137,7 +137,7 @@ public class ManagementServerProperties { * Return the context path with no trailing slash (i.e. the '/' root context is * represented as the empty string). * @return the context path (no trailing slash) - * @deprecated since 2.4.0 in favor of + * @deprecated since 2.4 for removal in 2.6 in favor of * {@link ManagementServerProperties#getBasePath()} */ @Deprecated @@ -149,7 +149,7 @@ public class ManagementServerProperties { /** * Set the context path. * @param contextPath the context path - * @deprecated since 2.4.0 in favor of + * @deprecated since 2.4 for removal in 2.6 in favor of * {@link ManagementServerProperties#setBasePath(String)} */ @Deprecated diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/cassandra/CassandraHealthIndicator.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/cassandra/CassandraHealthIndicator.java index 2b15f4e8b3..08c61007c6 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/cassandra/CassandraHealthIndicator.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/cassandra/CassandraHealthIndicator.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,7 +32,8 @@ import org.springframework.util.Assert; * @author Julien Dubois * @author Alexandre Dutra * @since 2.0.0 - * @deprecated since 2.4.0 in favor of {@link CassandraDriverHealthIndicator} + * @deprecated since 2.4 for removal in 2.6 in favor of + * {@link CassandraDriverHealthIndicator} */ @Deprecated public class CassandraHealthIndicator extends AbstractHealthIndicator { diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/cassandra/CassandraReactiveHealthIndicator.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/cassandra/CassandraReactiveHealthIndicator.java index 28e8a8509f..572769ca71 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/cassandra/CassandraReactiveHealthIndicator.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/cassandra/CassandraReactiveHealthIndicator.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,7 +31,8 @@ import org.springframework.util.Assert; * * @author Artsiom Yudovin * @since 2.1.0 - * @deprecated since 2.4.0 in favor of {@link CassandraDriverHealthIndicator} + * @deprecated since 2.4 for removal in 2.6 in favor of + * {@link CassandraDriverHealthIndicator} */ @Deprecated public class CassandraReactiveHealthIndicator extends AbstractReactiveHealthIndicator { diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/InvocationContext.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/InvocationContext.java index 8050419613..69e024b0e5 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/InvocationContext.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/InvocationContext.java @@ -56,7 +56,7 @@ public class InvocationContext { * @param securityContext the current security context. Never {@code null} * @param arguments the arguments available to the operation. Never {@code null} * @since 2.2.0 - * @deprecated since 2.5.0 in favor of + * @deprecated since 2.5 for removal in 2.7 in favor of * {@link #InvocationContext(SecurityContext, Map, OperationArgumentResolver[])} */ @Deprecated @@ -98,7 +98,8 @@ public class InvocationContext { /** * Return the security context to use for the invocation. * @return the security context - * @deprecated since 2.5.0 in favor of {@link #resolveArgument(Class)} + * @deprecated since 2.5 for removal in 2.7 in favor of + * {@link #resolveArgument(Class)} */ @Deprecated public SecurityContext getSecurityContext() { diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/http/ApiVersion.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/http/ApiVersion.java index 052746ab83..58609ba828 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/http/ApiVersion.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/http/ApiVersion.java @@ -66,8 +66,8 @@ public enum ApiVersion implements Producible { * will be deduced based on the {@code Accept} header. * @param headers the HTTP headers * @return the API version to use - * @deprecated since 2.5.0 in favor of direct injection with resolution via the - * {@link ProducibleOperationArgumentResolver}. + * @deprecated since 2.5 for removal in 2.7 in favor of direct injection with + * resolution via the {@link ProducibleOperationArgumentResolver}. */ @Deprecated public static ApiVersion fromHttpHeaders(Map> headers) { diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/HealthIndicatorReactiveAdapter.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/HealthIndicatorReactiveAdapter.java index fe68bb42ef..0e9609bda4 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/HealthIndicatorReactiveAdapter.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/HealthIndicatorReactiveAdapter.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/server/WebFluxTags.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/server/WebFluxTags.java index 7a6046925b..524dcce082 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/server/WebFluxTags.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/server/WebFluxTags.java @@ -172,9 +172,10 @@ public final class WebFluxTags { * @param exchange the exchange * @return the outcome tag derived from the response status * @since 2.1.0 - * @deprecated as of 2.5.0 in favor of {@link #outcome(ServerWebExchange, Throwable)}, - * to be removed in 2.7.0 + * @deprecated since 2.5 for removal in 2.7 in favor of + * {@link #outcome(ServerWebExchange, Throwable)} */ + @Deprecated public static Tag outcome(ServerWebExchange exchange) { return outcome(exchange, null); } diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BatchProperties.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BatchProperties.java index 89760536b3..0456bf40b4 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BatchProperties.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BatchProperties.java @@ -39,7 +39,7 @@ public class BatchProperties { /** * Return the datasource schema. * @return the schema - * @deprecated as of 2.5.0 in favor of {@link Jdbc#getSchema()} + * @deprecated as of 2.5 for removal in 2.7 in favor of {@link Jdbc#getSchema()} */ @Deprecated @DeprecatedConfigurationProperty(replacement = "spring.batch.jdbc.schema") @@ -55,7 +55,7 @@ public class BatchProperties { /** * Return the table prefix. * @return the table prefix - * @deprecated as of 2.5.0 in favor of {@link Jdbc#getTablePrefix()} + * @deprecated as of 2.5 for removal in 2.7 in favor of {@link Jdbc#getTablePrefix()} */ @Deprecated @DeprecatedConfigurationProperty(replacement = "spring.batch.jdbc.table-prefix") @@ -71,7 +71,8 @@ public class BatchProperties { /** * Return whether the schema should be initialized. * @return the initialization mode - * @deprecated as of 2.5.0 in favor of {@link Jdbc#getInitializeSchema()} + * @deprecated as of 2.5 for removal in 2.7 in favor of + * {@link Jdbc#getInitializeSchema()} */ @Deprecated @DeprecatedConfigurationProperty(replacement = "spring.batch.jdbc.initialize-schema") diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/jpa/EntityManagerFactoryDependsOnPostProcessor.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/jpa/EntityManagerFactoryDependsOnPostProcessor.java index d8f4b27347..6893947c4a 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/jpa/EntityManagerFactoryDependsOnPostProcessor.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/jpa/EntityManagerFactoryDependsOnPostProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,7 +32,7 @@ import org.springframework.beans.factory.config.BeanFactoryPostProcessor; * @author Andrii Hrytsiuk * @since 1.1.0 * @see BeanDefinition#setDependsOn(String[]) - * @deprecated since 2.5.0 in favor of + * @deprecated since 2.5 for removal in 2.7 in favor of * {@link org.springframework.boot.autoconfigure.orm.jpa.EntityManagerFactoryDependsOnPostProcessor} */ @Deprecated diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayMigrationScriptMissingException.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayMigrationScriptMissingException.java index b01da38d50..dedad53ae0 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayMigrationScriptMissingException.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayMigrationScriptMissingException.java @@ -25,7 +25,7 @@ import java.util.List; * @author Anand Shastri * @author Stephane Nicoll * @since 2.2.0 - * @deprecated since 2.5.0 as location checking is deprecated + * @deprecated since 2.5 for removal in 2.7 as location checking is deprecated */ @Deprecated public class FlywayMigrationScriptMissingException extends RuntimeException { diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayMigrationScriptMissingFailureAnalyzer.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayMigrationScriptMissingFailureAnalyzer.java index 8365788962..12c3c4daab 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayMigrationScriptMissingFailureAnalyzer.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayMigrationScriptMissingFailureAnalyzer.java @@ -25,7 +25,7 @@ import org.springframework.boot.diagnostics.FailureAnalysis; * * @author Anand Shastri * @author Stephane Nicoll - * @deprecated since 2.5.0 as location checking is deprecated + * @deprecated since 2.5 for removal in 2.7 as location checking is deprecated */ @Deprecated class FlywayMigrationScriptMissingFailureAnalyzer diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayProperties.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayProperties.java index edfc094700..664a239831 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayProperties.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayProperties.java @@ -546,7 +546,8 @@ public class FlywayProperties { /** * Return if a new datasource is being created. * @return {@code true} if a new datasource is created - * @deprecated since 2.5.0 in favor of directly checking user and url. + * @deprecated since 2.5 for removal in 2.7 in favor of directly checking user and + * url. */ @Deprecated public boolean isCreateDataSource() { diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/hateoas/HypermediaHttpMessageConverterConfiguration.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/hateoas/HypermediaHttpMessageConverterConfiguration.java index 915da867cb..1f3f9865ec 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/hateoas/HypermediaHttpMessageConverterConfiguration.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/hateoas/HypermediaHttpMessageConverterConfiguration.java @@ -42,7 +42,7 @@ import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandl * * @author Andy Wilkinson * @since 1.3.0 - * @deprecated since 2.5.0 in favor of a {@link HalConfiguration} bean + * @deprecated since 2.5 for removal in 2.7 in favor of a {@link HalConfiguration} bean */ @Deprecated @Configuration(proxyBeanMethods = false) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/hazelcast/HazelcastClientFactory.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/hazelcast/HazelcastClientFactory.java index 55b40d2758..248699817d 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/hazelcast/HazelcastClientFactory.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/hazelcast/HazelcastClientFactory.java @@ -34,7 +34,7 @@ import org.springframework.util.StringUtils; * * @author Vedran Pavic * @since 2.0.0 - * @deprecated since 2.3.4 in favor of using the Hazelcast API directly + * @deprecated since 2.4.3 for removal in 2.6 in favor of using the Hazelcast API directly */ @Deprecated public class HazelcastClientFactory { diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/hazelcast/HazelcastInstanceFactory.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/hazelcast/HazelcastInstanceFactory.java index 82380751f1..40fa78ac3b 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/hazelcast/HazelcastInstanceFactory.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/hazelcast/HazelcastInstanceFactory.java @@ -36,7 +36,7 @@ import org.springframework.util.StringUtils; * @author Stephane Nicoll * @author Phillip Webb * @since 1.3.0 - * @deprecated since 2.3.4 in favor of using the Hazelcast API directly + * @deprecated since 2.4.3 for removal in 2.6 in favor of using the Hazelcast API directly */ @Deprecated public class HazelcastInstanceFactory { diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceSchemaCreatedEvent.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceSchemaCreatedEvent.java index ac23a0017d..5bb0190472 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceSchemaCreatedEvent.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceSchemaCreatedEvent.java @@ -28,7 +28,8 @@ import org.springframework.context.ApplicationEvent; * @author Dave Syer * @author Stephane Nicoll * @since 2.0.0 - * @deprecated since 2.5.0 with no replacement as the event is no longer published + * @deprecated since 2.5 for removal in 2.7 with no replacement as the event is no longer + * published */ @SuppressWarnings("serial") @Deprecated diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/JdbcOperationsDependsOnPostProcessor.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/JdbcOperationsDependsOnPostProcessor.java index b78ad4fb86..ade789b17d 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/JdbcOperationsDependsOnPostProcessor.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/JdbcOperationsDependsOnPostProcessor.java @@ -33,7 +33,8 @@ import org.springframework.jdbc.core.JdbcOperations; * @author Andrii Hrytsiuk * @since 2.0.4 * @see BeanDefinition#setDependsOn(String[]) - * @deprecated since 2.5.0 in favor of {@link DependsOnDatabaseInitializationDetector} + * @deprecated since 2.5 for removal in 2.7 in favor of + * {@link DependsOnDatabaseInitializationDetector} */ @Deprecated public class JdbcOperationsDependsOnPostProcessor extends AbstractDependsOnBeanFactoryPostProcessor { diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/NamedParameterJdbcOperationsDependsOnPostProcessor.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/NamedParameterJdbcOperationsDependsOnPostProcessor.java index 606b5cf798..89ed5c3879 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/NamedParameterJdbcOperationsDependsOnPostProcessor.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/NamedParameterJdbcOperationsDependsOnPostProcessor.java @@ -31,7 +31,8 @@ import org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations; * @author Andrii Hrytsiuk * @since 2.1.4 * @see BeanDefinition#setDependsOn(String[]) - * @deprecated since 2.5.0 in favor of {@link DependsOnDatabaseInitializationDetector} + * @deprecated since 2.5 for removal in 2.7 in favor of + * {@link DependsOnDatabaseInitializationDetector} */ @Deprecated public class NamedParameterJdbcOperationsDependsOnPostProcessor extends AbstractDependsOnBeanFactoryPostProcessor { diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/artemis/ArtemisProperties.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/artemis/ArtemisProperties.java index 1bc10594e8..df237b9eec 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/artemis/ArtemisProperties.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/artemis/ArtemisProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -93,7 +93,7 @@ public class ArtemisProperties { /** * Return the host of the broker. * @return the host - * @deprecated as of 2.5.0 in favor of broker url + * @deprecated since 2.5 for removal in 2.7 in favor of broker url */ @Deprecated @DeprecatedConfigurationProperty(replacement = "spring.artemis.broker-url") @@ -109,7 +109,7 @@ public class ArtemisProperties { /** * Return the port of the broker. * @return the port - * @deprecated as of 2.5.0 in favor of broker url + * @deprecated since 2.5 for removal in 2.7 in favor of broker url */ @Deprecated @DeprecatedConfigurationProperty(replacement = "spring.artemis.broker-url") diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jooq/DslContextDependsOnPostProcessor.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jooq/DslContextDependsOnPostProcessor.java index 0bf284a665..1504f31125 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jooq/DslContextDependsOnPostProcessor.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jooq/DslContextDependsOnPostProcessor.java @@ -30,7 +30,8 @@ import org.springframework.boot.sql.init.dependency.DependsOnDatabaseInitializat * @author EddĂș MelĂ©ndez * @since 2.3.9 * @see BeanDefinition#setDependsOn(String[]) - * @deprecated since 2.5.0 in favor of {@link DependsOnDatabaseInitializationDetector} + * @deprecated since 2.5 for removal in 2.7 in favor of + * {@link DependsOnDatabaseInitializationDetector} */ @Deprecated public class DslContextDependsOnPostProcessor extends AbstractDependsOnBeanFactoryPostProcessor { diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoProperties.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoProperties.java index e400d8f1a6..56023d0ee2 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoProperties.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -198,7 +198,7 @@ public class MongoProperties { /** * Return the GridFS database name. * @return the GridFS database name - * @deprecated since 2.4.0 in favor of {@link Gridfs#getDatabase()} + * @deprecated since 2.4 for removal in 2.6 in favor of {@link Gridfs#getDatabase()} */ @DeprecatedConfigurationProperty(replacement = "spring.data.mongodb.gridfs.database") @Deprecated diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mustache/MustacheEnvironmentCollector.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mustache/MustacheEnvironmentCollector.java index 9825e3f975..5b0fc41198 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mustache/MustacheEnvironmentCollector.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mustache/MustacheEnvironmentCollector.java @@ -34,8 +34,8 @@ import org.springframework.core.env.Environment; * @author Dave Syer * @author Madhura Bhave * @since 1.2.2 - * @deprecated since 2.5.0 in favour of direct addition of values from the Environment to - * the model + * @deprecated since 2.5 for removal in 2.7 in favor of direct addition of values from the + * Environment to the model */ @Deprecated public class MustacheEnvironmentCollector extends DefaultCollector implements EnvironmentAware { diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/r2dbc/ConnectionFactoryBuilder.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/r2dbc/ConnectionFactoryBuilder.java index b57230ba53..c7fbebc330 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/r2dbc/ConnectionFactoryBuilder.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/r2dbc/ConnectionFactoryBuilder.java @@ -31,7 +31,7 @@ import io.r2dbc.spi.ConnectionFactoryOptions.Builder; * @author Tadaya Tsuyukubo * @author Stephane Nicoll * @since 2.3.0 - * @deprecated since 2.5.0 in favor of + * @deprecated since 2.5 for removal in 2.7 in favor of * {@link org.springframework.boot.r2dbc.ConnectionFactoryBuilder} */ @Deprecated diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/r2dbc/EmbeddedDatabaseConnection.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/r2dbc/EmbeddedDatabaseConnection.java index 056ec57059..dd9b5ab1f8 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/r2dbc/EmbeddedDatabaseConnection.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/r2dbc/EmbeddedDatabaseConnection.java @@ -25,7 +25,7 @@ import org.springframework.util.ClassUtils; * @author Mark Paluch * @author Stephane Nicoll * @since 2.3.0 - * @deprecated since 2.5.0 in favor of + * @deprecated since 2.5 for removal in 2.7 in favor of * {@link org.springframework.boot.r2dbc.EmbeddedDatabaseConnection} */ @Deprecated diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java index 78ac45b1ec..352ff472e3 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,7 +31,7 @@ import org.springframework.boot.context.properties.DeprecatedConfigurationProper * @author Venil Noronha * @author Kristine Jetzke * @since 1.1.0 - * @deprecated since 2.4.0 in favor of {@link WebProperties.Resources} + * @deprecated since 2.4 for removal in 2.6 in favor of {@link WebProperties.Resources} */ @Deprecated @ConfigurationProperties(prefix = "spring.resources", ignoreUnknownFields = false) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/reactive/error/AbstractErrorWebExceptionHandler.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/reactive/error/AbstractErrorWebExceptionHandler.java index 53f05c1600..1c91f3c7d5 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/reactive/error/AbstractErrorWebExceptionHandler.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/reactive/error/AbstractErrorWebExceptionHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -97,7 +97,7 @@ public abstract class AbstractErrorWebExceptionHandler implements ErrorWebExcept * @param errorAttributes the error attributes * @param resourceProperties the resource properties * @param applicationContext the application context - * @deprecated since 2.4.0 in favor of + * @deprecated since 2.4 for removal in 2.6 in favor of * {@link #AbstractErrorWebExceptionHandler(ErrorAttributes, Resources, ApplicationContext)} */ @Deprecated @@ -157,7 +157,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.0 in favor of + * @deprecated since 2.3 for removal in 2.5 in favor of * {@link #getErrorAttributes(ServerRequest, ErrorAttributeOptions)} */ @Deprecated diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/reactive/error/DefaultErrorWebExceptionHandler.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/reactive/error/DefaultErrorWebExceptionHandler.java index 6602d6cbed..094f89049e 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/reactive/error/DefaultErrorWebExceptionHandler.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/reactive/error/DefaultErrorWebExceptionHandler.java @@ -97,7 +97,7 @@ public class DefaultErrorWebExceptionHandler extends AbstractErrorWebExceptionHa * @param resourceProperties the resources configuration properties * @param errorProperties the error configuration properties * @param applicationContext the current application context - * @deprecated since 2.4.0 in favor of + * @deprecated since 2.4 for removal in 2.6 in favor of * {@link #DefaultErrorWebExceptionHandler(ErrorAttributes, Resources, ErrorProperties, ApplicationContext)} */ @Deprecated diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/WebMvcProperties.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/WebMvcProperties.java index 39adce5c66..818125b04d 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/WebMvcProperties.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/WebMvcProperties.java @@ -553,7 +553,7 @@ public class WebMvcProperties { /** * Locale resolution options. - * @deprecated since 2.4.0 in favor of + * @deprecated since 2.4 for removal in 2.6 in favor of * {@link org.springframework.boot.autoconfigure.web.WebProperties.LocaleResolver} */ @Deprecated diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/error/DefaultErrorViewResolver.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/error/DefaultErrorViewResolver.java index 87c27e851e..ad108e62b7 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/error/DefaultErrorViewResolver.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/error/DefaultErrorViewResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -78,7 +78,7 @@ public class DefaultErrorViewResolver implements ErrorViewResolver, Ordered { * Create a new {@link DefaultErrorViewResolver} instance. * @param applicationContext the source application context * @param resourceProperties resource properties - * @deprecated since 2.4.0 in favour of + * @deprecated since 2.4 for removal in 2.6 in favor of * {@link #DefaultErrorViewResolver(ApplicationContext, Resources)} */ @Deprecated diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/flyway/FlywayMigrationScriptMissingFailureAnalyzerTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/flyway/FlywayMigrationScriptMissingFailureAnalyzerTests.java index c3f7fef9b3..324e964e61 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/flyway/FlywayMigrationScriptMissingFailureAnalyzerTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/flyway/FlywayMigrationScriptMissingFailureAnalyzerTests.java @@ -28,7 +28,7 @@ import static org.assertj.core.api.Assertions.assertThat; * Tests for {@link FlywayMigrationScriptMissingFailureAnalyzer}. * * @author Anand Shastri - * @deprecated since 2.5.0 as location checking is deprecated + * @deprecated since 2.5 for removal in 2.7 as location checking is deprecated */ @Deprecated class FlywayMigrationScriptMissingFailureAnalyzerTests { diff --git a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/actuate/metrics/AutoConfigureMetricsSpringBootApplication.java b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/actuate/metrics/AutoConfigureMetricsSpringBootApplication.java index 1520c1b958..c17d00d087 100644 --- a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/actuate/metrics/AutoConfigureMetricsSpringBootApplication.java +++ b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/actuate/metrics/AutoConfigureMetricsSpringBootApplication.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/neo4j/ExampleReactiveRepository.java b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/neo4j/ExampleReactiveRepository.java index 7e7c6dd18f..059223eade 100644 --- a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/neo4j/ExampleReactiveRepository.java +++ b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/neo4j/ExampleReactiveRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/ConfigFileApplicationContextInitializer.java b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/ConfigFileApplicationContextInitializer.java index 8c0bfbd843..4041ef7273 100644 --- a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/ConfigFileApplicationContextInitializer.java +++ b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/ConfigFileApplicationContextInitializer.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,7 +28,8 @@ import org.springframework.test.context.ContextConfiguration; * @author Phillip Webb * @since 1.4.0 * @see org.springframework.boot.context.config.ConfigFileApplicationListener - * @deprecated since 2.4.0 in favor of {@link ConfigDataApplicationContextInitializer} + * @deprecated since 2.4 for removal in 2.6 in favor of + * {@link ConfigDataApplicationContextInitializer} */ @Deprecated public class ConfigFileApplicationContextInitializer diff --git a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/SpringBootContextLoader.java b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/SpringBootContextLoader.java index 39fcd6a9ca..131cf8ca92 100644 --- a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/SpringBootContextLoader.java +++ b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/SpringBootContextLoader.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/util/TestPropertyValues.java b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/util/TestPropertyValues.java index 2f182318fd..22a3d0af8f 100644 --- a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/util/TestPropertyValues.java +++ b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/util/TestPropertyValues.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -314,7 +314,8 @@ public final class TestPropertyValues { * Create a new {@link Pair} instance. * @param name the name * @param value the value - * @deprecated since 2.4.0 in favor of {@link #of(String, String)} + * @deprecated since 2.4 for removal in 2.6 in favor of + * {@link #of(String, String)} */ @Deprecated public Pair(String name, String value) { diff --git a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/build/BuildLog.java b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/build/BuildLog.java index c22680108b..9b1487ef43 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/build/BuildLog.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/build/BuildLog.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,7 +47,7 @@ public interface BuildLog { * @param request the build request * @param imageReference the builder image reference * @return a consumer for progress update events - * @deprecated since 2.4.0 in favor of + * @deprecated since 2.4 for removal in 2.6 in favor of * {@link #pullingImage(ImageReference, ImageType)} */ @Deprecated @@ -57,7 +57,8 @@ public interface BuildLog { * Log that the builder image has been pulled. * @param request the build request * @param image the builder image that was pulled - * @deprecated since 2.4.0 in favor of {@link #pulledImage(Image, ImageType)} + * @deprecated since 2.4 for removal in 2.6 in favor of + * {@link #pulledImage(Image, ImageType)} */ @Deprecated void pulledBuilder(BuildRequest request, Image image); @@ -67,7 +68,7 @@ public interface BuildLog { * @param request the build request * @param imageReference the run image reference * @return a consumer for progress update events - * @deprecated since 2.4.0 in favor of + * @deprecated since 2.4 for removal in 2.6 in favor of * {@link #pullingImage(ImageReference, ImageType)} */ @Deprecated @@ -77,7 +78,8 @@ public interface BuildLog { * Log that a run image has been pulled. * @param request the build request * @param image the run image that was pulled - * @deprecated since 2.4.0 in favor of {@link #pulledImage(Image, ImageType)} + * @deprecated since 2.4 for removal in 2.6 in favor of + * {@link #pulledImage(Image, ImageType)} */ @Deprecated void pulledRunImage(BuildRequest request, Image image); diff --git a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/dsl/SpringBootExtension.java b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/dsl/SpringBootExtension.java index 6048deda24..f2ee81cd44 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/dsl/SpringBootExtension.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/dsl/SpringBootExtension.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -68,7 +68,7 @@ public class SpringBootExtension { /** * Returns the fully-qualified main class name of the application. * @return the fully-qualified name of the application's main class - * @deprecated since 2.4.0 in favor of {@link #getMainClass()}. + * @deprecated since 2.4 for removal in 2.6 in favor of {@link #getMainClass()}. */ @Deprecated @ReplacedBy("mainClass") @@ -79,7 +79,7 @@ public class SpringBootExtension { /** * Sets the fully-qualified main class name of the application. * @param mainClassName the fully-qualified name of the application's main class - * @deprecated since 2.4.0 in favour of {@link #getMainClass} and + * @deprecated since 2.4 for removal in 2.6 in favor of {@link #getMainClass} and * {@link Property#set(Object)} */ @Deprecated diff --git a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/bundling/BootArchive.java b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/bundling/BootArchive.java index 126f2a0cc5..2462c5fc16 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/bundling/BootArchive.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/bundling/BootArchive.java @@ -47,7 +47,7 @@ public interface BootArchive extends Task { /** * Returns the fully-qualified main class name of the application. * @return the fully-qualified name of the application's main class - * @deprecated since 2.4.0 in favor of {@link #getMainClass()}. + * @deprecated since 2.4 for removal in 2.6 in favor of {@link #getMainClass()}. */ @Deprecated @ReplacedBy("mainClass") @@ -56,7 +56,7 @@ public interface BootArchive extends Task { /** * Sets the fully-qualified main class name of the application. * @param mainClassName the fully-qualified name of the application's main class - * @deprecated since 2.4.0 in favour of {@link #getMainClass} and + * @deprecated since 2.4 for removal in 2.6 in favor of {@link #getMainClass} and * {@link Property#set(Object)} */ @Deprecated diff --git a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/bundling/BootBuildImage.java b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/bundling/BootBuildImage.java index b8eac87706..ed4cfe6508 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/bundling/BootBuildImage.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/bundling/BootBuildImage.java @@ -117,8 +117,9 @@ public class BootBuildImage extends DefaultTask { /** * Returns the property for the archive file from which the image will be built. * @return the archive file property - * @deprecated since 2.5.0 in favor of {@link #getArchiveFile()} + * @deprecated since 2.5 for removal in 2.7 in favor of {@link #getArchiveFile()} */ + @Deprecated @Input public RegularFileProperty getJar() { return this.archiveFile; diff --git a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/bundling/BootJar.java b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/bundling/BootJar.java index 59e972401e..343b8f1724 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/bundling/BootJar.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/bundling/BootJar.java @@ -183,7 +183,7 @@ public class BootJar extends Jar implements BootArchive { /** * Configures the jar to be layered using the default layering. * @since 2.3.0 - * @deprecated since 2.4.0 as layering as now enabled by default. + * @deprecated since 2.4 for removal in 2.6 as layering as now enabled by default. */ @Deprecated public void layered() { diff --git a/spring-boot-project/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Packager.java b/spring-boot-project/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Packager.java index 46cf1fa0d6..81dbc59a60 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Packager.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Packager.java @@ -100,7 +100,7 @@ public abstract class Packager { * Create a new {@link Packager} instance. * @param source the source archive file to package * @param layoutFactory the layout factory to use or {@code null} - * @deprecated since 2.5.0 in favor of {@link #Packager(File)} and + * @deprecated since 2.3.10 for removal in 2.5 in favor of {@link #Packager(File)} and * {@link #setLayoutFactory(LayoutFactory)} */ @Deprecated diff --git a/spring-boot-project/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Repackager.java b/spring-boot-project/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Repackager.java index ae6ab0c237..e5d66796ac 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Repackager.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Repackager.java @@ -50,8 +50,8 @@ public class Repackager extends Packager { * Create a new {@link Repackager} instance. * @param source the source archive file to package * @param layoutFactory the layout factory to use or {@code null} - * @deprecated since 2.5.0 in favor of {@link #Repackager(File)} and - * {@link #setLayoutFactory(LayoutFactory)} + * @deprecated since 2.3.10 for removal in 2.5 in favor of {@link #Repackager(File)} + * and {@link #setLayoutFactory(LayoutFactory)} */ @Deprecated public Repackager(File source, LayoutFactory layoutFactory) { diff --git a/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/Launcher.java b/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/Launcher.java index 314da4090b..a292635f69 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/Launcher.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/Launcher.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -63,7 +63,8 @@ public abstract class Launcher { * @param archives the archives * @return the classloader * @throws Exception if the classloader cannot be created - * @deprecated since 2.3.0 in favor of {@link #createClassLoader(Iterator)} + * @deprecated since 2.3 for removal in 2.5 in favor of + * {@link #createClassLoader(Iterator)} */ @Deprecated protected ClassLoader createClassLoader(List archives) throws Exception { @@ -139,7 +140,7 @@ public abstract class Launcher { * Returns the archives that will be used to construct the class path. * @return the class path archives * @throws Exception if the class path archives cannot be obtained - * @deprecated since 2.3.0 in favor of implementing + * @deprecated since 2.3 for removal in 2.5 in favor of implementing * {@link #getClassPathArchivesIterator()}. */ @Deprecated diff --git a/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/archive/Archive.java b/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/archive/Archive.java index e3dd20ee7f..de1bf3761c 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/archive/Archive.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/archive/Archive.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -75,7 +75,7 @@ public interface Archive extends Iterable, AutoCloseable { * @param filter the filter used to limit entries * @return nested archives * @throws IOException if nested archives cannot be read - * @deprecated since 2.3.0 in favor of + * @deprecated since 2.3 for removal in 2.5 in favor of * {@link #getNestedArchives(EntryFilter, EntryFilter)} */ @Deprecated @@ -86,7 +86,7 @@ public interface Archive extends Iterable, AutoCloseable { /** * Return a new iterator for the archive entries. * @see java.lang.Iterable#iterator() - * @deprecated since 2.3.0 in favor of using + * @deprecated since 2.3 for removal in 2.5 in favor of using * {@link org.springframework.boot.loader.jar.JarFile} to access entries and * {@link #getNestedArchives(EntryFilter, EntryFilter)} for accessing nested archives. */ @@ -98,7 +98,7 @@ public interface Archive extends Iterable, AutoCloseable { * Performs the given action for each element of the {@code Iterable} until all * elements have been processed or the action throws an exception. * @see Iterable#forEach - * @deprecated since 2.3.0 in favor of using + * @deprecated since 2.3 for removal in 2.5 in favor of using * {@link org.springframework.boot.loader.jar.JarFile} to access entries and * {@link #getNestedArchives(EntryFilter, EntryFilter)} for accessing nested archives. */ @@ -114,7 +114,7 @@ public interface Archive extends Iterable, AutoCloseable { /** * Creates a {@link Spliterator} over the elements described by this {@code Iterable}. * @see Iterable#spliterator - * @deprecated since 2.3.0 in favor of using + * @deprecated since 2.3 for removal in 2.5 in favor of using * {@link org.springframework.boot.loader.jar.JarFile} to access entries and * {@link #getNestedArchives(EntryFilter, EntryFilter)} for accessing nested archives. */ diff --git a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/ArtifactsLibraries.java b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/ArtifactsLibraries.java index 47b46e6e93..d764d89572 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/ArtifactsLibraries.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/ArtifactsLibraries.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,7 +70,7 @@ public class ArtifactsLibraries implements Libraries { * @param artifacts the artifacts to represent as libraries * @param unpacks artifacts that should be unpacked on launch * @param log the log - * @deprecated since 2.4.0 in favour of + * @deprecated since 2.4 for removal in 2.6 in favor of * {@link #ArtifactsLibraries(Set, Collection, Collection, Log)} */ @Deprecated diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/Bootstrapper.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/Bootstrapper.java index ac73b59199..b6776fc362 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/Bootstrapper.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/Bootstrapper.java @@ -24,7 +24,8 @@ package org.springframework.boot; * @since 2.4.0 * @see SpringApplication#addBootstrapper(Bootstrapper) * @see BootstrapRegistry - * @deprecated since 2.4.5 in favor of {@link BootstrapRegistryInitializer} + * @deprecated since 2.4.5 for removal in 2.6 in favor of + * {@link BootstrapRegistryInitializer} */ @Deprecated public interface Bootstrapper { @@ -41,7 +42,7 @@ public interface Bootstrapper { /** * Initialize the given {@link BootstrapRegistry} with any required registrations. * @param registry the registry to initialize - * @deprecated since 2.4.4 in favor of + * @deprecated since 2.4.4 for removal in 2.6 in favor of * {@link Bootstrapper#initialize(BootstrapRegistry)} */ @Deprecated diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java index f4ca8084f0..96e94c6c07 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java @@ -164,7 +164,8 @@ public class SpringApplication { /** * The class name of application context that will be used by default for non-web * environments. - * @deprecated since 2.4.0 in favour of using a {@link ApplicationContextFactory} + * @deprecated since 2.4 for removal in 2.6 in favor of using a + * {@link ApplicationContextFactory} */ @Deprecated public static final String DEFAULT_CONTEXT_CLASS = "org.springframework.context." @@ -173,7 +174,8 @@ public class SpringApplication { /** * The class name of application context that will be used by default for web * environments. - * @deprecated since 2.4.0 in favour of using an {@link ApplicationContextFactory} + * @deprecated since 2.4 for removal in 2.6 in favor of using an + * {@link ApplicationContextFactory} */ @Deprecated public static final String DEFAULT_SERVLET_WEB_CONTEXT_CLASS = "org.springframework.boot." @@ -182,7 +184,8 @@ public class SpringApplication { /** * The class name of application context that will be used by default for reactive web * environments. - * @deprecated since 2.4.0 in favour of using an {@link ApplicationContextFactory} + * @deprecated since 2.4 for removal in 2.6 in favor of using an + * {@link ApplicationContextFactory} */ @Deprecated public static final String DEFAULT_REACTIVE_WEB_CONTEXT_CLASS = "org.springframework." @@ -1056,7 +1059,7 @@ public class SpringApplication { * {@link BootstrapRegistry}. * @param bootstrapper the bootstraper * @since 2.4.0 - * @deprecated since 2.4.5 in favor of + * @deprecated since 2.4.5 for removal in 2.6 in favor of * {@link #addBootstrapRegistryInitializer(BootstrapRegistryInitializer)} */ @Deprecated @@ -1230,7 +1233,7 @@ public class SpringApplication { * applications or {@link AnnotationConfigApplicationContext} for non web based * applications. * @param applicationContextClass the context class to set - * @deprecated since 2.4.0 in favor of + * @deprecated since 2.4 for removal in 2.6 in favor of * {@link #setApplicationContextFactory(ApplicationContextFactory)} */ @Deprecated diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplicationRunListener.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplicationRunListener.java index 5b4fefb3b5..1d8081da0e 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplicationRunListener.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplicationRunListener.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,7 +47,8 @@ public interface SpringApplicationRunListener { /** * Called immediately when the run method has first started. Can be used for very * early initialization. - * @deprecated since 2.4.0 in favor of {@link #starting(ConfigurableBootstrapContext)} + * @deprecated since 2.4 for removal in 2.6 in favor of + * {@link #starting(ConfigurableBootstrapContext)} */ @Deprecated default void starting() { @@ -68,7 +69,7 @@ public interface SpringApplicationRunListener { * Called once the environment has been prepared, but before the * {@link ApplicationContext} has been created. * @param environment the environment - * @deprecated since 2.4.0 in favor of + * @deprecated since 2.4 for removal in 2.6 in favor of * {@link #environmentPrepared(ConfigurableBootstrapContext, ConfigurableEnvironment)} */ @Deprecated diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/builder/SpringApplicationBuilder.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/builder/SpringApplicationBuilder.java index c75b5d3204..d77112ed69 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/builder/SpringApplicationBuilder.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/builder/SpringApplicationBuilder.java @@ -276,7 +276,7 @@ public class SpringApplicationBuilder { * Explicitly set the context class to be used. * @param cls the context class to use * @return the current builder - * @deprecated since 2.4.0 in favor of + * @deprecated since 2.4 for removal in 2.6 in favor of * {@link #contextFactory(ApplicationContextFactory)} */ @Deprecated @@ -405,7 +405,7 @@ public class SpringApplicationBuilder { * @param bootstrapper the bootstraper * @return the current builder * @since 2.4.0 - * @deprecated since 2.4.5 in favor of + * @deprecated since 2.4.5 for removal in 2.6 in favor of * {@link #addBootstrapRegistryInitializer(BootstrapRegistryInitializer)} */ @Deprecated diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor.java index a0460d4416..2b80da96d5 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -107,7 +107,7 @@ public class CloudFoundryVcapEnvironmentPostProcessor /** * Create a new {@link CloudFoundryVcapEnvironmentPostProcessor} instance. - * @deprecated since 2.4.0 in favor of + * @deprecated since 2.4 for removal in 2.6 in favor of * {@link #CloudFoundryVcapEnvironmentPostProcessor(Log)} */ @Deprecated @@ -154,8 +154,8 @@ public class CloudFoundryVcapEnvironmentPostProcessor /** * Event listener used to switch logging. - * @deprecated since 2.4.0 in favor of only using {@link EnvironmentPostProcessor} - * callbacks + * @deprecated since 2.4 for removal in 2.6 in favor of only using + * {@link EnvironmentPostProcessor} callbacks */ @Deprecated @Override diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigFileApplicationListener.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigFileApplicationListener.java index e583445b90..75970f778a 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigFileApplicationListener.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigFileApplicationListener.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -112,7 +112,8 @@ import org.springframework.util.StringUtils; * @author Madhura Bhave * @author Scott Frederick * @since 1.0.0 - * @deprecated since 2.4.0 in favor of {@link ConfigDataEnvironmentPostProcessor} + * @deprecated since 2.4 for removal in 2.6 in favor of + * {@link ConfigDataEnvironmentPostProcessor} */ @Deprecated public class ConfigFileApplicationListener implements EnvironmentPostProcessor, SmartApplicationListener, Ordered { diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/FilteredPropertySource.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/FilteredPropertySource.java index d43ab59199..12907c0cef 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/FilteredPropertySource.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/FilteredPropertySource.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,7 +28,8 @@ import org.springframework.core.env.PropertySource; * {@link ConfigFileApplicationListener} to filter out properties for specific operations. * * @author Phillip Webb - * @deprecated since 2.4.0 along with {@link ConfigFileApplicationListener} + * @deprecated since 2.4 for removal in 2.6 along with + * {@link ConfigFileApplicationListener} */ @Deprecated class FilteredPropertySource extends PropertySource> { diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationEnvironmentPreparedEvent.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationEnvironmentPreparedEvent.java index 00d24f8b1a..a5c9c7f6ba 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationEnvironmentPreparedEvent.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationEnvironmentPreparedEvent.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ public class ApplicationEnvironmentPreparedEvent extends SpringApplicationEvent * @param application the current application * @param args the arguments the application is running with * @param environment the environment that was just created - * @deprecated since 2.4.0 in favor of + * @deprecated since 2.4 for removal in 2.6 in favor of * {@link #ApplicationEnvironmentPreparedEvent(ConfigurableBootstrapContext, SpringApplication, String[], ConfigurableEnvironment)} */ @Deprecated diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationStartingEvent.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationStartingEvent.java index b3b66132d3..8987e45d12 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationStartingEvent.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationStartingEvent.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -42,7 +42,7 @@ public class ApplicationStartingEvent extends SpringApplicationEvent { * Create a new {@link ApplicationStartingEvent} instance. * @param application the current application * @param args the arguments the application is running with - * @deprecated since 2.4.0 in favor of + * @deprecated since 2.4 for removal in 2.6 in favor of * {@link #ApplicationStartingEvent(ConfigurableBootstrapContext, SpringApplication, String[])} */ @Deprecated diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/logging/ClasspathLoggingApplicationListener.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/logging/ClasspathLoggingApplicationListener.java index 4702165310..f7e4d3b2f7 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/logging/ClasspathLoggingApplicationListener.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/logging/ClasspathLoggingApplicationListener.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,8 +38,9 @@ import org.springframework.core.ResolvableType; * * @author Andy Wilkinson * @since 2.0.0 - * @deprecated since 2.4.0 with no direct replacement. {@link FailureAnalysis} is now the - * preferred approach for diagnosing and reporting startup failures. + * @deprecated since 2.4 for removal in 2.6 with no direct replacement. + * {@link FailureAnalysis} is now the preferred approach for diagnosing and reporting + * startup failures. */ @Deprecated public final class ClasspathLoggingApplicationListener implements GenericApplicationListener { diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/EmbeddedDatabaseConnection.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/EmbeddedDatabaseConnection.java index 9eb8bf9924..199dbc5d5d 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/EmbeddedDatabaseConnection.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/EmbeddedDatabaseConnection.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -63,7 +63,8 @@ public enum EmbeddedDatabaseConnection { /** * HSQL Database Connection. - * @deprecated since 2.4.0 in favor of {@link EmbeddedDatabaseConnection#HSQLDB}. + * @deprecated since 2.4 for removal in 2.6 in favor of + * {@link EmbeddedDatabaseConnection#HSQLDB}. */ @Deprecated HSQL(EmbeddedDatabaseType.HSQL, DatabaseDriver.HSQLDB.getDriverClassName(), "org.hsqldb.jdbcDriver", @@ -140,7 +141,8 @@ public enum EmbeddedDatabaseConnection { * database type. * @param driverClass the driver class * @return true if the driver class is one of the embedded types - * @deprecated since 2.4.0 in favor of {@link #isEmbedded(String, String)} + * @deprecated since 2.4 for removal in 2.6 in favor of + * {@link #isEmbedded(String, String)} */ @Deprecated public static boolean isEmbedded(String driverClass) { diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/LoggingSystemProperties.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/LoggingSystemProperties.java index d71ffbf94b..345df04157 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/LoggingSystemProperties.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/LoggingSystemProperties.java @@ -83,7 +83,7 @@ public class LoggingSystemProperties { /** * The name of the System property that contains the rolled-over log file name * pattern. - * @deprecated since 2.4.0 in favor of + * @deprecated since 2.4 for removal in 2.6 in favor of * {@link org.springframework.boot.logging.logback.LogbackLoggingSystemProperties#ROLLINGPOLICY_FILE_NAME_PATTERN} */ @Deprecated @@ -91,7 +91,7 @@ public class LoggingSystemProperties { /** * The name of the System property that contains the clean history on start flag. - * @deprecated since 2.4.0 in favor of + * @deprecated since 2.4 for removal in 2.6 in favor of * {@link org.springframework.boot.logging.logback.LogbackLoggingSystemProperties#ROLLINGPOLICY_CLEAN_HISTORY_ON_START} */ @Deprecated @@ -99,7 +99,7 @@ public class LoggingSystemProperties { /** * The name of the System property that contains the file log max size. - * @deprecated since 2.4.0 in favor of + * @deprecated since 2.4 for removal in 2.6 in favor of * {@link org.springframework.boot.logging.logback.LogbackLoggingSystemProperties#ROLLINGPOLICY_MAX_FILE_SIZE} */ @Deprecated @@ -107,7 +107,7 @@ public class LoggingSystemProperties { /** * The name of the System property that contains the file total size cap. - * @deprecated since 2.4.0 in favor of + * @deprecated since 2.4 for removal in 2.6 in favor of * {@link org.springframework.boot.logging.logback.LogbackLoggingSystemProperties#ROLLINGPOLICY_TOTAL_SIZE_CAP} */ @Deprecated @@ -115,7 +115,7 @@ public class LoggingSystemProperties { /** * The name of the System property that contains the file log max history. - * @deprecated since 2.4.0 in favor of + * @deprecated since 2.4 for removal in 2.6 in favor of * {@link org.springframework.boot.logging.logback.LogbackLoggingSystemProperties#ROLLINGPOLICY_MAX_HISTORY} */ @Deprecated diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/rsocket/netty/NettyRSocketServerFactory.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/rsocket/netty/NettyRSocketServerFactory.java index 2a51683aa6..31c6c01f0d 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/rsocket/netty/NettyRSocketServerFactory.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/rsocket/netty/NettyRSocketServerFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/undertow/UndertowServletWebServerFactory.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/undertow/UndertowServletWebServerFactory.java index 2181233303..6fbe47525e 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/undertow/UndertowServletWebServerFactory.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/undertow/UndertowServletWebServerFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -250,7 +250,7 @@ public class UndertowServletWebServerFactory extends AbstractServletWebServerFac * Return if filters should be initialized eagerly. * @return {@code true} if filters are initialized eagerly, otherwise {@code false}. * @since 2.0.0 - * @deprecated since 2.4.0 in favor of {@link #isEagerFilterInit()} + * @deprecated since 2.4 for removal in 2.6 in favor of {@link #isEagerFilterInit()} */ @Deprecated public boolean isEagerInitFilters() { @@ -262,7 +262,7 @@ public class UndertowServletWebServerFactory extends AbstractServletWebServerFac * @param eagerInitFilters {@code true} if filters are initialized eagerly, otherwise * {@code false}. * @since 2.0.0 - * @deprecated since 2.4.0 in favor of {@link #isEagerFilterInit()} + * @deprecated since 2.4 for removal in 2.6 in favor of {@link #isEagerFilterInit()} */ @Deprecated public void setEagerInitFilters(boolean eagerInitFilters) {