Clean up deprecation warnings in spring-web

This commit is contained in:
Sam Brannen 2016-07-23 17:17:50 +02:00
parent 76aa7b1cd9
commit 2b6971a20e
2 changed files with 0 additions and 2 deletions

View File

@ -153,7 +153,6 @@ public class Jaxb2RootElementHttpMessageConverter extends AbstractJaxb2HttpMessa
}
}
@SuppressWarnings("deprecation")
protected Source processSource(Source source) {
if (source instanceof StreamSource) {
StreamSource streamSource = (StreamSource) source;

View File

@ -187,7 +187,6 @@ public class SourceHttpMessageConverter<T extends Source> extends AbstractHttpMe
}
}
@SuppressWarnings("deprecation")
private SAXSource readSAXSource(InputStream body) throws IOException {
try {
XMLReader xmlReader = org.xml.sax.helpers.XMLReaderFactory.createXMLReader();