Ensure AutoConfigurationReport is always present

This commit is contained in:
Dave Syer
2013-11-04 16:01:30 +00:00
parent b63016d8fc
commit 0c79c8913f
8 changed files with 108 additions and 29 deletions

View File

@@ -20,7 +20,6 @@ import java.util.Date;
import java.util.Map;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.report.EnableAutoConfigurationReport;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
@@ -34,7 +33,6 @@ import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
@EnableAutoConfiguration
@EnableAutoConfigurationReport
@ComponentScan
@Controller
public class SampleSecureApplication extends WebMvcConfigurerAdapter {