Merge branch '2.4.x'

This commit is contained in:
Phillip Webb
2021-03-30 09:26:16 -07:00
51 changed files with 85 additions and 79 deletions

View File

@@ -164,7 +164,7 @@ public class SpringApplication {
/**
* The class name of application context that will be used by default for non-web
* environments.
* @deprecated since 2.4 for removal in 2.6 in favor of using a
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of using a
* {@link ApplicationContextFactory}
*/
@Deprecated
@@ -174,7 +174,7 @@ public class SpringApplication {
/**
* The class name of application context that will be used by default for web
* environments.
* @deprecated since 2.4 for removal in 2.6 in favor of using an
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of using an
* {@link ApplicationContextFactory}
*/
@Deprecated
@@ -184,7 +184,7 @@ public class SpringApplication {
/**
* The class name of application context that will be used by default for reactive web
* environments.
* @deprecated since 2.4 for removal in 2.6 in favor of using an
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of using an
* {@link ApplicationContextFactory}
*/
@Deprecated
@@ -1233,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 for removal in 2.6 in favor of
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
* {@link #setApplicationContextFactory(ApplicationContextFactory)}
*/
@Deprecated

View File

@@ -47,7 +47,7 @@ public interface SpringApplicationRunListener {
/**
* Called immediately when the run method has first started. Can be used for very
* early initialization.
* @deprecated since 2.4 for removal in 2.6 in favor of
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
* {@link #starting(ConfigurableBootstrapContext)}
*/
@Deprecated
@@ -69,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 for removal in 2.6 in favor of
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
* {@link #environmentPrepared(ConfigurableBootstrapContext, ConfigurableEnvironment)}
*/
@Deprecated

View File

@@ -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 for removal in 2.6 in favor of
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
* {@link #contextFactory(ApplicationContextFactory)}
*/
@Deprecated

View File

@@ -107,7 +107,7 @@ public class CloudFoundryVcapEnvironmentPostProcessor
/**
* Create a new {@link CloudFoundryVcapEnvironmentPostProcessor} instance.
* @deprecated since 2.4 for removal in 2.6 in favor of
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
* {@link #CloudFoundryVcapEnvironmentPostProcessor(Log)}
*/
@Deprecated
@@ -154,7 +154,7 @@ public class CloudFoundryVcapEnvironmentPostProcessor
/**
* Event listener used to switch logging.
* @deprecated since 2.4 for removal in 2.6 in favor of only using
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of only using
* {@link EnvironmentPostProcessor} callbacks
*/
@Deprecated

View File

@@ -112,7 +112,7 @@ import org.springframework.util.StringUtils;
* @author Madhura Bhave
* @author Scott Frederick
* @since 1.0.0
* @deprecated since 2.4 for removal in 2.6 in favor of
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
* {@link ConfigDataEnvironmentPostProcessor}
*/
@Deprecated

View File

@@ -28,7 +28,7 @@ import org.springframework.core.env.PropertySource;
* {@link ConfigFileApplicationListener} to filter out properties for specific operations.
*
* @author Phillip Webb
* @deprecated since 2.4 for removal in 2.6 along with
* @deprecated since 2.4.0 for removal in 2.6.0 along with
* {@link ConfigFileApplicationListener}
*/
@Deprecated

View File

@@ -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 for removal in 2.6 in favor of
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
* {@link #ApplicationEnvironmentPreparedEvent(ConfigurableBootstrapContext, SpringApplication, String[], ConfigurableEnvironment)}
*/
@Deprecated

View File

@@ -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 for removal in 2.6 in favor of
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
* {@link #ApplicationStartingEvent(ConfigurableBootstrapContext, SpringApplication, String[])}
*/
@Deprecated

View File

@@ -38,7 +38,7 @@ import org.springframework.core.ResolvableType;
*
* @author Andy Wilkinson
* @since 2.0.0
* @deprecated since 2.4 for removal in 2.6 with no direct replacement.
* @deprecated since 2.4.0 for removal in 2.6.0 with no direct replacement.
* {@link FailureAnalysis} is now the preferred approach for diagnosing and reporting
* startup failures.
*/

View File

@@ -63,7 +63,7 @@ public enum EmbeddedDatabaseConnection {
/**
* HSQL Database Connection.
* @deprecated since 2.4 for removal in 2.6 in favor of
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
* {@link EmbeddedDatabaseConnection#HSQLDB}.
*/
@Deprecated
@@ -141,7 +141,7 @@ 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 for removal in 2.6 in favor of
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
* {@link #isEmbedded(String, String)}
*/
@Deprecated

View File

@@ -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 for removal in 2.6 in favor of
* @deprecated since 2.4.0 for removal in 2.6.0 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 for removal in 2.6 in favor of
* @deprecated since 2.4.0 for removal in 2.6.0 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 for removal in 2.6 in favor of
* @deprecated since 2.4.0 for removal in 2.6.0 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 for removal in 2.6 in favor of
* @deprecated since 2.4.0 for removal in 2.6.0 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 for removal in 2.6 in favor of
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
* {@link org.springframework.boot.logging.logback.LogbackLoggingSystemProperties#ROLLINGPOLICY_MAX_HISTORY}
*/
@Deprecated

View File

@@ -250,7 +250,8 @@ 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 for removal in 2.6 in favor of {@link #isEagerFilterInit()}
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
* {@link #isEagerFilterInit()}
*/
@Deprecated
public boolean isEagerInitFilters() {
@@ -262,7 +263,8 @@ 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 for removal in 2.6 in favor of {@link #isEagerFilterInit()}
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
* {@link #isEagerFilterInit()}
*/
@Deprecated
public void setEagerInitFilters(boolean eagerInitFilters) {