Remove TheController from Bean

It is already picked up with classpath scanning

Issue gh-4080
This commit is contained in:
Rob Winch 2016-10-17 09:26:01 -05:00
parent 5e35e37a2b
commit 8a7ac398e6
1 changed files with 0 additions and 5 deletions

View File

@ -228,11 +228,6 @@ public class SecurityMockMvcRequestPostProcessorsCsrfTests {
protected void configure(HttpSecurity http) throws Exception {
}
@Bean
public TheController controller() {
return new TheController();
}
@RestController
static class TheController {
@RequestMapping("/")