File tree Expand file tree Collapse file tree 1 file changed +3
-14
lines changed 
org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/config/annotation Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Original file line number Diff line number Diff line change 2727 * <pre class="code"> 
2828 * @Configuration 
2929 * @EnableWebMvc 
30-  * @ComponentScan( 
31-  * 	basePackageClasses = { MyConfiguration.class }, 
32-  * 	excludeFilters = { @Filter(type = FilterType.ANNOTATION, value = Configuration.class) } 
33-  * ) 
30+  * @ComponentScan(basePackageClasses = { MyConfiguration.class }) 
3431 * public class MyWebConfiguration { 
3532 * 
3633 * } 
4239 * <pre class="code"> 
4340 * @Configuration 
4441 * @EnableWebMvc 
45-  * @ComponentScan( 
46-  * 	basePackageClasses = { MyConfiguration.class }, 
47-  * 	excludeFilters = { @Filter(type = FilterType.ANNOTATION, value = Configuration.class) } 
48-  * ) 
42+  * @ComponentScan(basePackageClasses = { MyConfiguration.class }) 
4943 * public class MyConfiguration extends WebMvcConfigurerAdapter { 
5044 * 
5145 * 	@Override 
5953 * 	} 
6054 * 
6155 * 	// More overridden methods ... 
62-  * 
6356 * } 
6457 * </pre> 
6558 * 
7063 *  
7164 * <pre class="code"> 
7265 * @Configuration 
73-  * @ComponentScan( 
74-  * 	basePackageClasses = { MyConfiguration.class }, 
75-  * 	excludeFilters = { @Filter(type = FilterType.ANNOTATION, value = Configuration.class) } 
76-  * ) 
66+  * @ComponentScan(basePackageClasses = { MyConfiguration.class }) 
7767 * public class MyConfiguration extends WebMvcConfigurationSupport { 
7868 * 
7969 * 	@Override 
8676 *		// Create or delegate to "super" to create and 
8777 *		// customize properties of RequestMapingHandlerAdapter 
8878 *	} 
89-  * 
9079 * } 
9180 * </pre> 
9281 * 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments