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

@@ -20,9 +20,7 @@ import java.util.Map;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.security.SecurityProperties;
import org.springframework.boot.test.IntegrationTest;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.boot.test.TestRestTemplate;
@@ -48,9 +46,6 @@ import static org.junit.Assert.assertTrue;
@DirtiesContext
public class ManagementAddressActuatorApplicationTests {
@Autowired
private SecurityProperties security;
@Value("${local.server.port}")
private int port = 9010;