Fix compiler warnings only shown in Eclipse Mars

This commit is contained in:
Phillip Webb
2015-10-07 11:12:27 -07:00
parent a0fc90a5ec
commit aae38db9af
8 changed files with 2 additions and 22 deletions

View File

@@ -19,7 +19,6 @@ package sample.web.secure.custom;
import java.util.Date;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.security.SecurityProperties;
import org.springframework.boot.builder.SpringApplicationBuilder;
@@ -69,9 +68,6 @@ public class SampleWebSecureCustomApplication extends WebMvcConfigurerAdapter {
@Order(SecurityProperties.ACCESS_OVERRIDE_ORDER)
protected static class ApplicationSecurity extends WebSecurityConfigurerAdapter {
@Autowired
private SecurityProperties security;
@Override
protected void configure(HttpSecurity http) throws Exception {
http.authorizeRequests().antMatchers("/css/**").permitAll().anyRequest()