Fix compiler warnings only shown in Eclipse Mars
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -140,6 +140,7 @@ public class BasicErrorControllerIntegrationTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("rawtypes")
|
||||
public void testErrorForAnnotatedNoReasonException() throws Exception {
|
||||
load();
|
||||
ResponseEntity<Map> entity = new TestRestTemplate()
|
||||
|
||||
Reference in New Issue
Block a user