提交 d9ee44cd 编写于 作者: S Sam Brannen

Clean up warnings that show up in Gradle build

上级 0eba1f81
......@@ -346,6 +346,7 @@ public class AnnotationMetadataTests {
}
}
@SuppressWarnings({ "serial" })
private static class AnnotatedComponentSubClass extends AnnotatedComponent {
}
......
......@@ -1838,6 +1838,7 @@ public class SpelReproTests extends AbstractExpressionTests {
}
@Test
@SuppressWarnings("unchecked")
public void SPR11494() {
Expression exp = new SpelExpressionParser().parseExpression("T(java.util.Arrays).asList('a','b')");
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 final int X = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册