Commit d938bbff1af08ecbe7c6b1cd31cbdccd7e1a21b4

Authored by Julien Iguchi-Cartigny
1 parent 8d282680

add log message

Showing 1 changed file with 1 additions and 18 deletions   Show diff stats
src/main/java/fr/plil/sio/web/mvc/WebAppConfig.java
... ... @@ -27,6 +27,7 @@ public class WebAppConfig extends WebMvcConfigurerAdapter {
27 27 @Bean
28 28 @Scope(value = WebApplicationContext.SCOPE_SESSION, proxyMode = ScopedProxyMode. TARGET_CLASS)
29 29 public UserSession userSession() {
  30 + logger.debug("new user session bean");
30 31 return new UserSession();
31 32 }
32 33  
... ... @@ -62,22 +63,4 @@ public class WebAppConfig extends WebMvcConfigurerAdapter {
62 63 public void addResourceHandlers(ResourceHandlerRegistry registry) {
63 64 registry.addResourceHandler("/resources/").addResourceLocations("/resources/**");
64 65 }
65   -
66   - /*
67   - @Override
68   - public void configureDefaultServletHandling(DefaultServletHandlerConfigurer configurer) {
69   - configurer.enable();
70   - }
71   - */
72   -
73   -
74   - /*
75   - @Bean
76   - public RequestMappingHandlerMapping requestMappingHandlerMapping() {
77   - RequestMappingHandlerMapping handlerMapping = super.requestMappingHandlerMapping();
78   - handlerMapping.setUseSuffixPatternMatch(false);
79   - handlerMapping.setUseTrailingSlashMatch(false);
80   - return handlerMapping;
81   - }
82   - */
83 66 }
... ...