File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
line-bot-spring-boot/src/main/java/com/linecorp/bot/spring/boot Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 2424import org .springframework .context .annotation .Import ;
2525import org .springframework .web .method .support .HandlerMethodArgumentResolver ;
2626import org .springframework .web .servlet .config .annotation .InterceptorRegistry ;
27+ import org .springframework .web .servlet .config .annotation .WebMvcConfigurer ;
2728
2829import com .linecorp .bot .spring .boot .interceptor .LineBotServerInterceptor ;
2930import com .linecorp .bot .spring .boot .support .LineBotServerArgumentProcessor ;
3031
31- @ SuppressWarnings ("deprecation"
32- /* WebMvcConfigurerAdapter is deprecated in 5.x. TODO: Migrate to WebMvcConfigurer */ )
3332@ Configuration
3433@ Import (LineBotWebMvcBeans .class )
3534@ ConditionalOnWebApplication
36- public class LineBotWebMvcConfigurer
37- extends org .springframework .web .servlet .config .annotation .WebMvcConfigurerAdapter {
35+ public class LineBotWebMvcConfigurer implements WebMvcConfigurer {
3836 @ Autowired
3937 private LineBotServerInterceptor lineBotServerInterceptor ;
4038 @ Autowired
You can’t perform that action at this time.
0 commit comments