Clean up warnings that show up in Gradle build
This commit is contained in:
@@ -346,6 +346,7 @@ public class AnnotationMetadataTests {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings({ "serial" })
|
||||||
private static class AnnotatedComponentSubClass extends AnnotatedComponent {
|
private static class AnnotatedComponentSubClass extends AnnotatedComponent {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1838,6 +1838,7 @@ public class SpelReproTests extends AbstractExpressionTests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
public void SPR11494() {
|
public void SPR11494() {
|
||||||
Expression exp = new SpelExpressionParser().parseExpression("T(java.util.Arrays).asList('a','b')");
|
Expression exp = new SpelExpressionParser().parseExpression("T(java.util.Arrays).asList('a','b')");
|
||||||
List<String> list = (List<String>) exp.getValue();
|
List<String> list = (List<String>) exp.getValue();
|
||||||
@@ -1992,6 +1993,7 @@ public class SpelReproTests extends AbstractExpressionTests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@SuppressWarnings({ "rawtypes", "serial" })
|
||||||
public static class MapWithConstant extends HashMap {
|
public static class MapWithConstant extends HashMap {
|
||||||
|
|
||||||
public static final int X = 1;
|
public static final int X = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user