minor cleanup

This commit is contained in:
DOHA 2018-11-17 01:11:51 +02:00
parent b92af1b149
commit 16da0e5a0b
2 changed files with 3 additions and 2 deletions

View File

@ -8,9 +8,10 @@ import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import org.springframework.web.servlet.view.InternalResourceViewResolver; import org.springframework.web.servlet.view.InternalResourceViewResolver;
// needs HTTP 2 https://github.com/spring-projects/spring-framework/wiki/HTTP-2-support
@Configuration @Configuration
@EnableWebMvc @EnableWebMvc
@ComponentScan(basePackages = "com.baeldung.spring.controller.push") @ComponentScan(basePackages = "com.baeldung.spring.push.controller")
public class PushConfiguration implements WebMvcConfigurer { public class PushConfiguration implements WebMvcConfigurer {
@Bean @Bean

View File

@ -1,4 +1,4 @@
package com.baeldung.spring.controller.push; package com.baeldung.spring.push.controller;
import javax.servlet.http.PushBuilder; import javax.servlet.http.PushBuilder;