From ca4eafd4dda3877d5bcce03c6d5aa98edded1375 Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Thu, 1 Dec 2011 14:35:36 +0000 Subject: [PATCH] SPR-8808 Remove excludeFilter from javadoc examples in @EnableWebMvc. --- .../servlet/config/annotation/EnableWebMvc.java | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/config/annotation/EnableWebMvc.java b/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/config/annotation/EnableWebMvc.java index d78576a2ba..9928410edb 100644 --- a/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/config/annotation/EnableWebMvc.java +++ b/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/config/annotation/EnableWebMvc.java @@ -27,10 +27,7 @@ import org.springframework.context.annotation.Import; *
  * @Configuration
  * @EnableWebMvc
- * @ComponentScan(
- * 	basePackageClasses = { MyConfiguration.class },
- * 	excludeFilters = { @Filter(type = FilterType.ANNOTATION, value = Configuration.class) }
- * )
+ * @ComponentScan(basePackageClasses = { MyConfiguration.class })
  * public class MyWebConfiguration {
  *
  * }
@@ -42,10 +39,7 @@ import org.springframework.context.annotation.Import;
  * 
  * @Configuration
  * @EnableWebMvc
- * @ComponentScan(
- * 	basePackageClasses = { MyConfiguration.class },
- * 	excludeFilters = { @Filter(type = FilterType.ANNOTATION, value = Configuration.class) }
- * )
+ * @ComponentScan(basePackageClasses = { MyConfiguration.class })
  * public class MyConfiguration extends WebMvcConfigurerAdapter {
  *
  * 	@Override
@@ -59,7 +53,6 @@ import org.springframework.context.annotation.Import;
  * 	}
  *
  * 	// More overridden methods ...
- *
  * }
  * 
* @@ -70,10 +63,7 @@ import org.springframework.context.annotation.Import; * *
  * @Configuration
- * @ComponentScan(
- * 	basePackageClasses = { MyConfiguration.class },
- * 	excludeFilters = { @Filter(type = FilterType.ANNOTATION, value = Configuration.class) }
- * )
+ * @ComponentScan(basePackageClasses = { MyConfiguration.class })
  * public class MyConfiguration extends WebMvcConfigurationSupport {
  *
  * 	@Override
@@ -86,7 +76,6 @@ import org.springframework.context.annotation.Import;
  *		// Create or delegate to "super" to create and
  *		// customize properties of RequestMapingHandlerAdapter
  *	}
- *
  * }
  * 
*