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

@@ -44,7 +44,7 @@ import static org.mockito.Mockito.mock;
public class MockCachingProvider implements CachingProvider {
@Override
@SuppressWarnings({ "rawtypes", "unchecked" })
@SuppressWarnings("rawtypes")
public CacheManager getCacheManager(URI uri, ClassLoader classLoader,
Properties properties) {
CacheManager cacheManager = mock(CacheManager.class);

View File

@@ -140,6 +140,7 @@ public class BasicErrorControllerIntegrationTests {
}
@Test
@SuppressWarnings("rawtypes")
public void testErrorForAnnotatedNoReasonException() throws Exception {
load();
ResponseEntity<Map> entity = new TestRestTemplate()