Replace usage of WebMvcConfigurerAdapter

Closes gh-8964
This commit is contained in:
Madhura Bhave
2017-04-24 15:31:00 -07:00
parent ec57c3d92a
commit c2e5fd031a
19 changed files with 45 additions and 46 deletions

View File

@@ -31,11 +31,11 @@ import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
@SpringBootApplication
@Controller
public class SampleWebSecureCustomApplication extends WebMvcConfigurerAdapter {
public class SampleWebSecureCustomApplication implements WebMvcConfigurer {
@GetMapping("/")
public String home(Map<String, Object> model) {