From 3814e509a3d043f66b8006a4ae707ca682db848a Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 31 Aug 2016 14:34:49 +0100 Subject: [PATCH] Polish @deprecated javadoc and link to replacements where available Closes gh-6765 --- .../springframework/boot/actuate/endpoint/InfoEndpoint.java | 2 +- .../autoconfigure/jms/hornetq/HornetQAutoConfiguration.java | 2 +- .../jms/hornetq/HornetQConfigurationCustomizer.java | 2 +- .../jms/hornetq/HornetQConnectionFactoryConfiguration.java | 2 +- .../jms/hornetq/HornetQConnectionFactoryFactory.java | 2 +- .../jms/hornetq/HornetQEmbeddedConfigurationFactory.java | 2 +- .../jms/hornetq/HornetQEmbeddedServerConfiguration.java | 2 +- .../boot/autoconfigure/jms/hornetq/HornetQMode.java | 2 +- .../autoconfigure/jms/hornetq/HornetQNoOpBindingRegistry.java | 2 +- .../boot/autoconfigure/jms/hornetq/HornetQProperties.java | 2 +- .../jms/hornetq/HornetQXAConnectionFactoryConfiguration.java | 2 +- .../jms/hornetq/SpringBootHornetQConnectionFactory.java | 2 +- .../jms/hornetq/SpringBootHornetQXAConnectionFactory.java | 2 +- .../boot/autoconfigure/jms/hornetq/package-info.java | 3 ++- .../boot/autoconfigure/velocity/package-info.java | 4 +++- .../boot/test/SpringApplicationContextLoader.java | 4 ++-- .../embedded/DelegatingFilterProxyRegistrationBean.java | 2 +- .../boot/context/embedded/FilterRegistrationBean.java | 2 +- .../boot/context/embedded/MultipartConfigFactory.java | 3 ++- .../boot/context/embedded/ServletContextInitializer.java | 2 +- .../context/embedded/ServletListenerRegistrationBean.java | 2 +- .../boot/context/embedded/ServletRegistrationBean.java | 3 ++- .../org/springframework/boot/context/web/ErrorPageFilter.java | 3 ++- .../boot/context/web/OrderedCharacterEncodingFilter.java | 2 +- .../boot/context/web/OrderedHiddenHttpMethodFilter.java | 2 +- .../boot/context/web/OrderedHttpPutFormContentFilter.java | 2 +- .../boot/context/web/OrderedRequestContextFilter.java | 2 +- .../web/ServerPortInfoApplicationContextInitializer.java | 2 +- .../web/ServletContextApplicationContextInitializer.java | 2 +- .../boot/context/web/SpringBootServletInitializer.java | 2 +- .../java/org/springframework/boot/orm/jpa/EntityScan.java | 2 +- 31 files changed, 38 insertions(+), 32 deletions(-) diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/InfoEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/InfoEndpoint.java index b9915c6fb4..07e6d36635 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/InfoEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/InfoEndpoint.java @@ -54,7 +54,7 @@ public class InfoEndpoint extends AbstractEndpoint> { * Constructor provided for backward compatibility. * @param info a map (which is added to the info) * @param infoContributors the info contributors to use - * @deprecated as of 1.4 in favor of the constructor without the map + * @deprecated as of 1.4 in favor of {@link #InfoEndpoint(List)} */ @Deprecated public InfoEndpoint(Map info, InfoContributor... infoContributors) { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQAutoConfiguration.java index 3c59613341..115e3ad239 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQAutoConfiguration.java @@ -41,7 +41,7 @@ import org.springframework.context.annotation.Import; * @author Phillip Webb * @since 1.1.0 * @see HornetQProperties - * @deprecated as of 1.4 in favor of the artemis support + * @deprecated as of 1.4 in favor of the Artemis support */ @Configuration @AutoConfigureBefore(JmsAutoConfiguration.class) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQConfigurationCustomizer.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQConfigurationCustomizer.java index 234b59c5f6..9dfc4d78d3 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQConfigurationCustomizer.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQConfigurationCustomizer.java @@ -27,7 +27,7 @@ import org.hornetq.jms.server.embedded.EmbeddedJMS; * @author Phillip Webb * @since 1.1.0 * @see HornetQAutoConfiguration - * @deprecated as of 1.4 in favor of the artemis support + * @deprecated as of 1.4 in favor of the Artemis support */ @Deprecated public interface HornetQConfigurationCustomizer { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQConnectionFactoryConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQConnectionFactoryConfiguration.java index e31dbb10fd..50247e94ca 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQConnectionFactoryConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQConnectionFactoryConfiguration.java @@ -30,7 +30,7 @@ import org.springframework.context.annotation.Configuration; * * @author Phillip Webb * @since 1.2.0 - * @deprecated as of 1.4 in favor of the artemis support + * @deprecated as of 1.4 in favor of the Artemis support */ @Configuration @ConditionalOnMissingBean(ConnectionFactory.class) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQConnectionFactoryFactory.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQConnectionFactoryFactory.java index 0650ffffcb..a20dd785f5 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQConnectionFactoryFactory.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQConnectionFactoryFactory.java @@ -40,7 +40,7 @@ import org.springframework.util.ClassUtils; * @author Phillip Webb * @author Stephane Nicoll * @since 1.2.0 - * @deprecated as of 1.4 in favor of the artemis support + * @deprecated as of 1.4 in favor of the Artemis support */ @Deprecated class HornetQConnectionFactoryFactory { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQEmbeddedConfigurationFactory.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQEmbeddedConfigurationFactory.java index ecd6c888f7..8208bf97ef 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQEmbeddedConfigurationFactory.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQEmbeddedConfigurationFactory.java @@ -34,7 +34,7 @@ import org.springframework.boot.autoconfigure.jms.hornetq.HornetQProperties.Embe * @author Stephane Nicoll * @author Phillip Webb * @since 1.1.0 - * @deprecated as of 1.4 in favor of the artemis support + * @deprecated as of 1.4 in favor of the Artemis support */ @Deprecated class HornetQEmbeddedConfigurationFactory { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQEmbeddedServerConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQEmbeddedServerConfiguration.java index 2f04417abe..4cd8efbc86 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQEmbeddedServerConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQEmbeddedServerConfiguration.java @@ -41,7 +41,7 @@ import org.springframework.core.annotation.AnnotationAwareOrderComparator; * @author Phillip Webb * @author Stephane Nicoll * @since 1.2.0 - * @deprecated as of 1.4 in favor of the artemis support + * @deprecated as of 1.4 in favor of the Artemis support */ @Configuration @ConditionalOnClass(name = HornetQConnectionFactoryFactory.EMBEDDED_JMS_CLASS) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQMode.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQMode.java index 1078db50ed..ab900684e0 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQMode.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQMode.java @@ -21,7 +21,7 @@ package org.springframework.boot.autoconfigure.jms.hornetq; * * @author Stephane Nicoll * @since 1.1.0 - * @deprecated as of 1.4 in favor of the artemis support + * @deprecated as of 1.4 in favor of the Artemis support */ @Deprecated public enum HornetQMode { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQNoOpBindingRegistry.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQNoOpBindingRegistry.java index 35aae067a8..22c2e249bd 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQNoOpBindingRegistry.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQNoOpBindingRegistry.java @@ -23,7 +23,7 @@ import org.hornetq.spi.core.naming.BindingRegistry; * * @author Stephane Nicoll * @since 1.1.0 - * @deprecated as of 1.4 in favor of the artemis support + * @deprecated as of 1.4 in favor of the Artemis support */ @Deprecated public class HornetQNoOpBindingRegistry implements BindingRegistry { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQProperties.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQProperties.java index f8beed2b3f..69800d8cf7 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQProperties.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQProperties.java @@ -30,7 +30,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties; * * @author Stephane Nicoll * @since 1.1.0 - * @deprecated as of 1.4 in favor of the artemis support + * @deprecated as of 1.4 in favor of the Artemis support */ @ConfigurationProperties(prefix = "spring.hornetq") @Deprecated diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQXAConnectionFactoryConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQXAConnectionFactoryConfiguration.java index 2e19cae4e9..bd5b92b1b9 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQXAConnectionFactoryConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/HornetQXAConnectionFactoryConfiguration.java @@ -35,7 +35,7 @@ import org.springframework.context.annotation.Primary; * * @author Phillip Webb * @since 1.2.0 - * @deprecated as of 1.4 in favor of the artemis support + * @deprecated as of 1.4 in favor of the Artemis support */ @Configuration @ConditionalOnMissingBean(ConnectionFactory.class) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/SpringBootHornetQConnectionFactory.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/SpringBootHornetQConnectionFactory.java index c0541108ed..bce572f93c 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/SpringBootHornetQConnectionFactory.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/SpringBootHornetQConnectionFactory.java @@ -30,7 +30,7 @@ import org.springframework.util.StringUtils; * * @author Stéphane Lagraulet * @author Stephane Nicoll - * @deprecated as of 1.4 in favor of the artemis support + * @deprecated as of 1.4 in favor of the Artemis support */ @Deprecated class SpringBootHornetQConnectionFactory extends HornetQConnectionFactory { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/SpringBootHornetQXAConnectionFactory.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/SpringBootHornetQXAConnectionFactory.java index ea7768f91d..e77cab8b2d 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/SpringBootHornetQXAConnectionFactory.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/SpringBootHornetQXAConnectionFactory.java @@ -30,7 +30,7 @@ import org.springframework.util.StringUtils; * * @author Stéphane Lagraulet * @author Stephane Nicoll - * @deprecated as of 1.4 in favor of the artemis support + * @deprecated as of 1.4 in favor of the Artemis support */ @Deprecated class SpringBootHornetQXAConnectionFactory extends HornetQXAConnectionFactory { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/package-info.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/package-info.java index 780717b442..9e2b9d56e7 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/package-info.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/hornetq/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2016 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. @@ -16,5 +16,6 @@ /** * Auto-configuration for HornetQ. + * @deprecated as of 1.4 in favor of the Artemis support */ package org.springframework.boot.autoconfigure.jms.hornetq; diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/velocity/package-info.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/velocity/package-info.java index 80f753f9b9..571f4799d4 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/velocity/package-info.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/velocity/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2016 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. @@ -16,5 +16,7 @@ /** * Auto-configuration for Velocity. + * @deprecated as of 1.4 following the deprecation of Velocity support in Spring Framework + * 4.3 */ package org.springframework.boot.autoconfigure.velocity; diff --git a/spring-boot-test/src/main/java/org/springframework/boot/test/SpringApplicationContextLoader.java b/spring-boot-test/src/main/java/org/springframework/boot/test/SpringApplicationContextLoader.java index 6d00a9ad0e..0bf4878c47 100644 --- a/spring-boot-test/src/main/java/org/springframework/boot/test/SpringApplicationContextLoader.java +++ b/spring-boot-test/src/main/java/org/springframework/boot/test/SpringApplicationContextLoader.java @@ -28,6 +28,7 @@ import java.util.Set; import org.springframework.beans.BeanUtils; import org.springframework.boot.SpringApplication; +import org.springframework.boot.test.context.SpringBootContextLoader; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.web.support.ServletContextApplicationContextInitializer; import org.springframework.context.ApplicationContext; @@ -71,8 +72,7 @@ import org.springframework.web.context.support.GenericWebApplicationContext; * @see org.springframework.boot.test.IntegrationTest * @see org.springframework.boot.test.WebIntegrationTest * @deprecated as of 1.4 in favor of {@link SpringBootTest @SpringBootTest} - * {@link org.springframework.boot.test.context.SpringBootContextLoader} can also be - * considered if absolutely necessary. + * {@link SpringBootContextLoader} can also be considered if absolutely necessary. */ @Deprecated public class SpringApplicationContextLoader extends AbstractContextLoader { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/DelegatingFilterProxyRegistrationBean.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/DelegatingFilterProxyRegistrationBean.java index 2d5342125a..5b69d5252f 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/DelegatingFilterProxyRegistrationBean.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/DelegatingFilterProxyRegistrationBean.java @@ -46,7 +46,7 @@ import org.springframework.web.filter.DelegatingFilterProxy; * @see FilterRegistrationBean * @see DelegatingFilterProxy * @deprecated as of 1.4 in favor of - * org.springframework.boot.web.DelegatingFilterProxyRegistrationBean + * {@link org.springframework.boot.web.servlet.DelegatingFilterProxyRegistrationBean} */ @Deprecated public class DelegatingFilterProxyRegistrationBean diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/FilterRegistrationBean.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/FilterRegistrationBean.java index d4832ec3cf..0130a535e9 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/FilterRegistrationBean.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/FilterRegistrationBean.java @@ -39,7 +39,7 @@ import org.springframework.boot.web.servlet.ServletContextInitializer; * @see ServletContext#addFilter(String, Filter) * @see DelegatingFilterProxyRegistrationBean * @deprecated as of 1.4 in favor of - * org.springframework.boot.web.servlet.FilterRegistrationBean + * {@link org.springframework.boot.web.servlet.FilterRegistrationBean} */ @Deprecated public class FilterRegistrationBean diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/MultipartConfigFactory.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/MultipartConfigFactory.java index ad981980ae..31c93114f6 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/MultipartConfigFactory.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/MultipartConfigFactory.java @@ -29,7 +29,8 @@ import javax.servlet.MultipartConfigElement; * * * @author Phillip Webb - * @deprecated as of 1.4 in favor of org.springframework.boot.web.MultipartConfigFactory + * @deprecated as of 1.4 in favor of + * {@link org.springframework.boot.web.servlet.MultipartConfigFactory} */ @Deprecated public class MultipartConfigFactory diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/ServletContextInitializer.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/ServletContextInitializer.java index 83fc5102fc..95a2849013 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/ServletContextInitializer.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/ServletContextInitializer.java @@ -36,7 +36,7 @@ import org.springframework.web.WebApplicationInitializer; * @author Phillip Webb * @see WebApplicationInitializer * @deprecated as of 1.4 in favor of - * org.springframework.boot.web.servlet.ServletContextInitializer + * {@link org.springframework.boot.web.servlet.ServletContextInitializer} */ @Deprecated public interface ServletContextInitializer diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/ServletListenerRegistrationBean.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/ServletListenerRegistrationBean.java index 4d4057af2a..680ce14809 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/ServletListenerRegistrationBean.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/ServletListenerRegistrationBean.java @@ -48,7 +48,7 @@ import org.springframework.boot.web.servlet.ServletContextInitializer; * @author Dave Syer * @author Phillip Webb * @deprecated as of 1.4 in favor of - * org.springframework.boot.web.ServletListenerRegistrationBean + * {@link org.springframework.boot.web.servlet.ServletListenerRegistrationBean} */ @Deprecated public class ServletListenerRegistrationBean diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/ServletRegistrationBean.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/ServletRegistrationBean.java index 09939603d4..b7f5b4d9de 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/ServletRegistrationBean.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/ServletRegistrationBean.java @@ -36,7 +36,8 @@ import org.springframework.boot.web.servlet.ServletContextInitializer; * @author Phillip Webb * @see ServletContextInitializer * @see ServletContext#addServlet(String, Servlet) - * @deprecated as of 1.4 in favor of org.springframework.boot.web.servlet.ServletRegistrationBean + * @deprecated as of 1.4 in favor of + * {@link org.springframework.boot.web.servlet.ServletRegistrationBean} */ @Deprecated public class ServletRegistrationBean diff --git a/spring-boot/src/main/java/org/springframework/boot/context/web/ErrorPageFilter.java b/spring-boot/src/main/java/org/springframework/boot/context/web/ErrorPageFilter.java index ed88473843..0a39835336 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/web/ErrorPageFilter.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/web/ErrorPageFilter.java @@ -37,7 +37,8 @@ import org.springframework.stereotype.Component; * @author Phillip Webb * @author Andy Wilkinson * @since 1.4.0 - * @deprecated as of 1.4 in favor of org.springframework.boot.web.support.ErrorPageFilter + * @deprecated as of 1.4 in favor of + * {@link org.springframework.boot.web.support.ErrorPageFilter} */ @Component @Order(Ordered.HIGHEST_PRECEDENCE) diff --git a/spring-boot/src/main/java/org/springframework/boot/context/web/OrderedCharacterEncodingFilter.java b/spring-boot/src/main/java/org/springframework/boot/context/web/OrderedCharacterEncodingFilter.java index b93963bf8f..6e0873fc54 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/web/OrderedCharacterEncodingFilter.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/web/OrderedCharacterEncodingFilter.java @@ -25,7 +25,7 @@ import org.springframework.web.filter.CharacterEncodingFilter; * @author Phillip Webb * @since 1.2.1 * @deprecated as of 1.4 in favor of - * org.springframework.boot.web.filter.OrderedCharacterEncodingFilter + * {@link org.springframework.boot.web.filter.OrderedCharacterEncodingFilter} */ @Deprecated public class OrderedCharacterEncodingFilter diff --git a/spring-boot/src/main/java/org/springframework/boot/context/web/OrderedHiddenHttpMethodFilter.java b/spring-boot/src/main/java/org/springframework/boot/context/web/OrderedHiddenHttpMethodFilter.java index eec70d5b1b..5d9c0e69b3 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/web/OrderedHiddenHttpMethodFilter.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/web/OrderedHiddenHttpMethodFilter.java @@ -25,7 +25,7 @@ import org.springframework.web.filter.HiddenHttpMethodFilter; * @author Phillip Webb * @since 1.2.4 * @deprecated as of 1.4 in favor of - * org.springframework.boot.web.filter.OrderedHiddenHttpMethodFilter + * {@link org.springframework.boot.web.filter.OrderedHiddenHttpMethodFilter} */ @Deprecated public class OrderedHiddenHttpMethodFilter diff --git a/spring-boot/src/main/java/org/springframework/boot/context/web/OrderedHttpPutFormContentFilter.java b/spring-boot/src/main/java/org/springframework/boot/context/web/OrderedHttpPutFormContentFilter.java index af3aa87c61..b94bc2d473 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/web/OrderedHttpPutFormContentFilter.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/web/OrderedHttpPutFormContentFilter.java @@ -25,7 +25,7 @@ import org.springframework.web.filter.HttpPutFormContentFilter; * @author Joao Pedro Evangelista * @since 1.3.0 * @deprecated as of 1.4 in favor of - * org.springframework.boot.web.filter.OrderedHttpPutFormContentFilter + * {@link org.springframework.boot.web.filter.OrderedHttpPutFormContentFilter} */ @Deprecated public class OrderedHttpPutFormContentFilter diff --git a/spring-boot/src/main/java/org/springframework/boot/context/web/OrderedRequestContextFilter.java b/spring-boot/src/main/java/org/springframework/boot/context/web/OrderedRequestContextFilter.java index 8d33a3d1e4..276fe93216 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/web/OrderedRequestContextFilter.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/web/OrderedRequestContextFilter.java @@ -25,7 +25,7 @@ import org.springframework.web.filter.RequestContextFilter; * @author Phillip Webb * @since 1.3.0 * @deprecated as of 1.4 in favor of - * org.springframework.boot.web.filter.OrderedRequestContextFilter + * {@link org.springframework.boot.web.filter.OrderedRequestContextFilter} */ @Deprecated public class OrderedRequestContextFilter diff --git a/spring-boot/src/main/java/org/springframework/boot/context/web/ServerPortInfoApplicationContextInitializer.java b/spring-boot/src/main/java/org/springframework/boot/context/web/ServerPortInfoApplicationContextInitializer.java index 69ab23e811..da2805447e 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/web/ServerPortInfoApplicationContextInitializer.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/web/ServerPortInfoApplicationContextInitializer.java @@ -39,7 +39,7 @@ import org.springframework.core.env.Environment; * @author Phillip Webb * @since 1.3.0 * @deprecated as of 1.4 in favor of - * org.springframework.boot.context.embedded.ServerPortInfoApplicationContextInitializer + * {@link org.springframework.boot.context.embedded.ServerPortInfoApplicationContextInitializer} */ @Deprecated public class ServerPortInfoApplicationContextInitializer extends diff --git a/spring-boot/src/main/java/org/springframework/boot/context/web/ServletContextApplicationContextInitializer.java b/spring-boot/src/main/java/org/springframework/boot/context/web/ServletContextApplicationContextInitializer.java index f3876d9032..2c160cf4a3 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/web/ServletContextApplicationContextInitializer.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/web/ServletContextApplicationContextInitializer.java @@ -26,7 +26,7 @@ import org.springframework.context.ApplicationContextInitializer; * @author Dave Syer * @author Phillip Webb * @deprecated as of 1.4 in favor of - * org.springframework.boot.web.support.ServletContextApplicationContextInitializer + * {@link org.springframework.boot.web.support.ServletContextApplicationContextInitializer} */ @Deprecated public class ServletContextApplicationContextInitializer extends diff --git a/spring-boot/src/main/java/org/springframework/boot/context/web/SpringBootServletInitializer.java b/spring-boot/src/main/java/org/springframework/boot/context/web/SpringBootServletInitializer.java index a7b15b5296..d7d4f0eb67 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/web/SpringBootServletInitializer.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/web/SpringBootServletInitializer.java @@ -47,7 +47,7 @@ import org.springframework.web.WebApplicationInitializer; * @author Andy Wilkinson * @see #configure(SpringApplicationBuilder) * @deprecated as of 1.4 in favor of - * org.springframework.boot.web.support.SpringBootServletInitializer + * {@link org.springframework.boot.web.support.SpringBootServletInitializer} */ @Deprecated public abstract class SpringBootServletInitializer diff --git a/spring-boot/src/main/java/org/springframework/boot/orm/jpa/EntityScan.java b/spring-boot/src/main/java/org/springframework/boot/orm/jpa/EntityScan.java index 7921d876f8..0e5cbb1de9 100644 --- a/spring-boot/src/main/java/org/springframework/boot/orm/jpa/EntityScan.java +++ b/spring-boot/src/main/java/org/springframework/boot/orm/jpa/EntityScan.java @@ -44,7 +44,7 @@ import org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean; * * @author Phillip Webb * @deprecated as of 1.4 in favor of - * {@code @org.springframework.boot.autoconfigure.domain.EntityScan} or explicit + * {@code org.springframework.boot.autoconfigure.domain.EntityScan} or explicit * configuration of the {@link LocalContainerEntityManagerFactoryBean} (either * {@link LocalContainerEntityManagerFactoryBean#setPackagesToScan(String...) directly} or * using the {@link EntityManagerFactoryBuilder.Builder#packages(Class...)