mirror of
https://gitee.com/dcren/initializr.git
synced 2025-12-02 11:24:04 +08:00
Fix IDE warnings
Fix warnings shown in Eclipse
This commit is contained in:
@@ -45,7 +45,6 @@ public class InitializrService {
|
||||
}
|
||||
|
||||
@Bean
|
||||
@SuppressWarnings("deprecation")
|
||||
public LegacyStsController legacyStsController(
|
||||
InitializrMetadataProvider metadataProvider,
|
||||
ResourceUrlProvider resourceUrlProvider) {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user