Update deprecation messages to change removal version from 2.8 to 3.0

Closes gh-30903
This commit is contained in:
Andy Wilkinson 2022-05-26 13:59:03 +01:00
parent 3e7bd582a3
commit cbf42dea14
27 changed files with 58 additions and 58 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 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.
@ -85,7 +85,7 @@ public abstract class OnEndpointElementCondition extends SpringBootCondition {
* Return the default outcome that should be used.
* @param context the condition context
* @return the default outcome
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link #getDefaultOutcome(ConditionContext, AnnotationAttributes)}
*/
@Deprecated

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 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.
@ -58,7 +58,7 @@ public class IncludeExcludeEndpointFilter<E extends ExposableEndpoint<?>> implem
* @param environment the environment containing the properties
* @param prefix the property prefix to bind
* @param defaultIncludes the default {@code includes} to use when none are specified.
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link #IncludeExcludeEndpointFilter(Class, Environment, String, String[])}
*/
@Deprecated
@ -103,7 +103,7 @@ public class IncludeExcludeEndpointFilter<E extends ExposableEndpoint<?>> implem
* @param include the include patterns
* @param exclude the exclude patterns
* @param defaultIncludes the default {@code includes} to use when none are specified.
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link #IncludeExcludeEndpointFilter(Class, Environment, String, String[])}
*/
@Deprecated
@ -174,7 +174,7 @@ public class IncludeExcludeEndpointFilter<E extends ExposableEndpoint<?>> implem
/**
* Default include patterns that can be used.
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of {@link EndpointExposure}.
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of {@link EndpointExposure}.
*/
@Deprecated
public enum DefaultIncludes {

View File

@ -169,7 +169,7 @@ public class ConfigurationPropertiesReportEndpoint implements ApplicationContext
* {@link ConfigurationProperties @ConfigurationProperties} objects into a {@link Map}
* structure.
* @param mapper the object mapper
* @deprecated since 2.6 for removal in 2.8 in favor of
* @deprecated since 2.6 for removal in 3.0 in favor of
* {@link #configureJsonMapper(com.fasterxml.jackson.databind.json.JsonMapper.Builder)}
*/
@Deprecated

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 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 EnvironmentEndpoint {
* @param key the name to sanitize
* @param value the value to sanitize
* @return the sanitized value
* @deprecated since 2.6.0 for removal in 2.8.0 as sanitization should be internal to
* @deprecated since 2.6.0 for removal in 3.0.0 as sanitization should be internal to
* the class
*/
@Deprecated

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 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.
@ -49,7 +49,7 @@ public abstract class AbstractRabbitListenerContainerFactoryConfigurer<T extends
/**
* Creates a new configurer.
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link #AbstractRabbitListenerContainerFactoryConfigurer(RabbitProperties)}
*/
@Deprecated
@ -94,7 +94,7 @@ public abstract class AbstractRabbitListenerContainerFactoryConfigurer<T extends
/**
* Set the {@link RabbitProperties} to use.
* @param rabbitProperties the {@link RabbitProperties}
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link #AbstractRabbitListenerContainerFactoryConfigurer(RabbitProperties)}
*/
@Deprecated

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 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.
@ -33,7 +33,7 @@ public final class DirectRabbitListenerContainerFactoryConfigurer
/**
* Creates a new configurer.
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link #DirectRabbitListenerContainerFactoryConfigurer(RabbitProperties)}
*/
@Deprecated

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 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.
@ -41,7 +41,7 @@ public class RabbitTemplateConfigurer {
/**
* Creates a new configurer.
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link #RabbitTemplateConfigurer(RabbitProperties)}
*/
@Deprecated
@ -81,7 +81,7 @@ public class RabbitTemplateConfigurer {
/**
* Set the {@link RabbitProperties} to use.
* @param rabbitProperties the {@link RabbitProperties}
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link #RabbitTemplateConfigurer(RabbitProperties)}
*/
@Deprecated

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 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.
@ -33,7 +33,7 @@ public final class SimpleRabbitListenerContainerFactoryConfigurer
/**
* Creates a new configurer.
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link #SimpleRabbitListenerContainerFactoryConfigurer(RabbitProperties)}
*/
@Deprecated

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 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.
@ -30,7 +30,7 @@ import org.springframework.util.StringUtils;
* @author Dave Syer
* @author Vedran Pavic
* @since 1.0.0
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link BatchDataSourceScriptDatabaseInitializer}
*/
@Deprecated

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 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.
@ -29,7 +29,7 @@ import org.springframework.util.unit.DataSize;
* Deprecated configuration properties for Elasticsearch Reactive REST clients.
*
* @author Brian Clozel
* @deprecated since 2.6.0 for removal in 2.8.0
* @deprecated since 2.6.0 for removal in 3.0.0
*/
@Deprecated
@ConfigurationProperties(prefix = "spring.data.elasticsearch.client.reactive")

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 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,7 @@ import org.springframework.boot.context.properties.DeprecatedConfigurationProper
* Deprecated configuration properties for Elasticsearch REST clients.
*
* @author Brian Clozel
* @deprecated since 2.6.0 for removal in 2.8.0.
* @deprecated since 2.6.0 for removal in 3.0.0.
*/
@ConfigurationProperties(prefix = "spring.elasticsearch.rest")
@Deprecated

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 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,7 @@ import org.springframework.util.StringUtils;
*
* @author Vedran Pavic
* @since 2.0.0
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link IntegrationDataSourceScriptDatabaseInitializer}
*/
@Deprecated

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 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.
@ -29,7 +29,7 @@ import org.springframework.util.StringUtils;
*
* @author Vedran Pavic
* @since 2.0.0
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link QuartzDataSourceScriptDatabaseInitializer}
*/
@Deprecated

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 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,7 @@ import org.springframework.util.StringUtils;
*
* @author Vedran Pavic
* @since 1.4.0
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link JdbcSessionDataSourceScriptDatabaseInitializer}
*/
@Deprecated

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 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.
@ -127,7 +127,7 @@ public class WebFluxProperties {
/**
* Session properties.
*
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@code server.reactive.session}.
*/
@Deprecated
@ -145,7 +145,7 @@ public class WebFluxProperties {
/**
* Session cookie properties.
*
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link org.springframework.boot.web.server.Cookie}.
*/
@Deprecated
@ -169,7 +169,7 @@ public class WebFluxProperties {
/**
* SameSite values.
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link org.springframework.boot.web.server.Cookie.SameSite}.
*/
@Deprecated

View File

@ -32,7 +32,7 @@ import org.eclipse.aether.repository.RemoteRepository;
* @author Andy Wilkinson
* @author Phillip Webb
* @since 1.0.0
* @deprecated since 2.5.9 for removal in 2.8.0 in favor of
* @deprecated since 2.5.9 for removal in 3.0.0 in favor of
* {@link MavenResolverGrapeEngine}
*/
@Deprecated

View File

@ -40,7 +40,7 @@ import org.eclipse.aether.transport.http.HttpTransporterFactory;
*
* @author Andy Wilkinson
* @since 1.0.0
* @deprecated since 2.5.9 for removal in 2.8.0 in favor of
* @deprecated since 2.5.9 for removal in 3.0.0 in favor of
* {@link MavenResolverGrapeEngineFactory}
*/
@Deprecated

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 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.
@ -113,7 +113,7 @@ public abstract class AbstractApplicationContextRunner<SELF extends AbstractAppl
/**
* Create a new {@link AbstractApplicationContextRunner} instance.
* @param contextFactory the factory used to create the actual context
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link #AbstractApplicationContextRunner(Supplier, Function)}
*/
@Deprecated
@ -162,7 +162,7 @@ public abstract class AbstractApplicationContextRunner<SELF extends AbstractAppl
* @param parent the parent
* @param beanRegistrations the bean registrations
* @param configurations the configuration
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link #AbstractApplicationContextRunner(Supplier, Function)}
*/
@Deprecated

View File

@ -25,7 +25,7 @@ import org.gradle.jvm.application.tasks.CreateStartScripts;
*
* @author Andy Wilkinson
* @since 2.0.0
* @deprecated since 2.5.10 for removal in 2.8.0 in favor of {@link CreateStartScripts}.
* @deprecated since 2.5.10 for removal in 3.0.0 in favor of {@link CreateStartScripts}.
*/
@Deprecated
public class CreateBootStartScripts extends CreateStartScripts {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 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.
@ -90,7 +90,7 @@ public interface SpringApplicationRunListener {
* ApplicationRunners} have not been called.
* @param context the application context.
* @since 2.0.0
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link #started(ConfigurableApplicationContext, Duration)}
*/
@Deprecated
@ -116,7 +116,7 @@ public interface SpringApplicationRunListener {
* {@link ApplicationRunner ApplicationRunners} have been called.
* @param context the application context.
* @since 2.0.0
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link #ready(ConfigurableApplicationContext, Duration)}
*/
@Deprecated

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 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.
@ -108,7 +108,7 @@ public class SpringApplicationBuilder {
* @param sources the sources
* @return the {@link SpringApplication} instance
* @since 1.1.0
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link #createSpringApplication(ResourceLoader, Class...)}
*/
@Deprecated

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 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.
@ -44,7 +44,7 @@ public class ApplicationReadyEvent extends SpringApplicationEvent {
* @param application the current application
* @param args the arguments the application is running with
* @param context the context that was being created
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link #ApplicationReadyEvent(SpringApplication, String[], ConfigurableApplicationContext, Duration)}
*/
@Deprecated

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 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.
@ -43,7 +43,7 @@ public class ApplicationStartedEvent extends SpringApplicationEvent {
* @param application the current application
* @param args the arguments the application is running with
* @param context the context that was being created
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link #ApplicationStartedEvent(SpringApplication, String[], ConfigurableApplicationContext, Duration)}
*/
@Deprecated

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 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.
@ -35,7 +35,7 @@ import org.springframework.util.Assert;
* @author Vedran Pavic
* @author Stephane Nicoll
* @since 1.5.0
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link DataSourceScriptDatabaseInitializer}
*/
@Deprecated

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 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.
@ -25,7 +25,7 @@ import org.springframework.boot.sql.init.DatabaseInitializationMode;
* @author Stephane Nicoll
* @since 2.0.0
* @see AbstractDataSourceInitializer
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link DatabaseInitializationMode}
*/
@Deprecated

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 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.
@ -197,7 +197,7 @@ public class Log4J2LoggingSystem extends Slf4JLoggingSystem {
* Load the configuration from the given {@code location}.
* @param location the location
* @param logFile log file configuration
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link #loadConfiguration(String, LogFile, List)}
*/
@Deprecated

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 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.
@ -30,7 +30,7 @@ import org.hibernate.engine.jdbc.env.spi.JdbcEnvironment;
* @author Phillip Webb
* @author Madhura Bhave
* @since 1.4.0
* @deprecated since 2.6.0 for removal in 2.8.0 in favor of
* @deprecated since 2.6.0 for removal in 3.0.0 in favor of
* {@link CamelCaseToUnderscoresNamingStrategy}
*/
@Deprecated