Fix IDE warnings

Fix warnings shown in Eclipse
This commit is contained in:
Phillip Webb
2018-04-12 17:14:55 -07:00
parent 923fb58ffc
commit 593759f321
7 changed files with 14 additions and 3 deletions

View File

@@ -45,7 +45,6 @@ public class InitializrService {
}
@Bean
@SuppressWarnings("deprecation")
public LegacyStsController legacyStsController(
InitializrMetadataProvider metadataProvider,
ResourceUrlProvider resourceUrlProvider) {

View File

@@ -42,6 +42,7 @@ public class CloudFoundryInfoContributorTests {
}
@Test
@SuppressWarnings("unchecked")
public void applicationName() {
this.environment.setProperty("vcap.application.name", "foo-bar");
Info info = getInfo(this.environment);