SPR-8808 Remove excludeFilter from javadoc examples in @EnableWebMvc.
This commit is contained in:
parent
f75e832e7c
commit
ca4eafd4dd
|
@ -27,10 +27,7 @@ import org.springframework.context.annotation.Import;
|
||||||
* <pre class="code">
|
* <pre class="code">
|
||||||
* @Configuration
|
* @Configuration
|
||||||
* @EnableWebMvc
|
* @EnableWebMvc
|
||||||
* @ComponentScan(
|
* @ComponentScan(basePackageClasses = { MyConfiguration.class })
|
||||||
* basePackageClasses = { MyConfiguration.class },
|
|
||||||
* excludeFilters = { @Filter(type = FilterType.ANNOTATION, value = Configuration.class) }
|
|
||||||
* )
|
|
||||||
* public class MyWebConfiguration {
|
* public class MyWebConfiguration {
|
||||||
*
|
*
|
||||||
* }
|
* }
|
||||||
|
@ -42,10 +39,7 @@ import org.springframework.context.annotation.Import;
|
||||||
* <pre class="code">
|
* <pre class="code">
|
||||||
* @Configuration
|
* @Configuration
|
||||||
* @EnableWebMvc
|
* @EnableWebMvc
|
||||||
* @ComponentScan(
|
* @ComponentScan(basePackageClasses = { MyConfiguration.class })
|
||||||
* basePackageClasses = { MyConfiguration.class },
|
|
||||||
* excludeFilters = { @Filter(type = FilterType.ANNOTATION, value = Configuration.class) }
|
|
||||||
* )
|
|
||||||
* public class MyConfiguration extends WebMvcConfigurerAdapter {
|
* public class MyConfiguration extends WebMvcConfigurerAdapter {
|
||||||
*
|
*
|
||||||
* @Override
|
* @Override
|
||||||
|
@ -59,7 +53,6 @@ import org.springframework.context.annotation.Import;
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* // More overridden methods ...
|
* // More overridden methods ...
|
||||||
*
|
|
||||||
* }
|
* }
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -70,10 +63,7 @@ import org.springframework.context.annotation.Import;
|
||||||
*
|
*
|
||||||
* <pre class="code">
|
* <pre class="code">
|
||||||
* @Configuration
|
* @Configuration
|
||||||
* @ComponentScan(
|
* @ComponentScan(basePackageClasses = { MyConfiguration.class })
|
||||||
* basePackageClasses = { MyConfiguration.class },
|
|
||||||
* excludeFilters = { @Filter(type = FilterType.ANNOTATION, value = Configuration.class) }
|
|
||||||
* )
|
|
||||||
* public class MyConfiguration extends WebMvcConfigurationSupport {
|
* public class MyConfiguration extends WebMvcConfigurationSupport {
|
||||||
*
|
*
|
||||||
* @Override
|
* @Override
|
||||||
|
@ -86,7 +76,6 @@ import org.springframework.context.annotation.Import;
|
||||||
* // Create or delegate to "super" to create and
|
* // Create or delegate to "super" to create and
|
||||||
* // customize properties of RequestMapingHandlerAdapter
|
* // customize properties of RequestMapingHandlerAdapter
|
||||||
* }
|
* }
|
||||||
*
|
|
||||||
* }
|
* }
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue