diff --git a/spring-web/src/test/java/org/springframework/http/converter/xml/JacksonXmlHttpMessageConverterTests.java b/spring-web/src/test/java/org/springframework/http/converter/xml/JacksonXmlHttpMessageConverterTests.java index 67530f121ae..51493801bbc 100644 --- a/spring-web/src/test/java/org/springframework/http/converter/xml/JacksonXmlHttpMessageConverterTests.java +++ b/spring-web/src/test/java/org/springframework/http/converter/xml/JacksonXmlHttpMessageConverterTests.java @@ -314,7 +314,7 @@ class JacksonXmlHttpMessageConverterTests { } - @SuppressWarnings("serial") + @SuppressWarnings({"serial", "unchecked"}) private static class MyXmlMapper extends XmlMapper { }