Skip to content

Commit 2b6971a

Browse files
committed
Clean up deprecation warnings in spring-web
1 parent 76aa7b1 commit 2b6971a

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

spring-web/src/main/java/org/springframework/http/converter/xml/Jaxb2RootElementHttpMessageConverter.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ protected Object readFromSource(Class<?> clazz, HttpHeaders headers, Source sour
153153
}
154154
}
155155

156-
@SuppressWarnings("deprecation")
157156
protected Source processSource(Source source) {
158157
if (source instanceof StreamSource) {
159158
StreamSource streamSource = (StreamSource) source;

spring-web/src/main/java/org/springframework/http/converter/xml/SourceHttpMessageConverter.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ private DOMSource readDOMSource(InputStream body) throws IOException {
187187
}
188188
}
189189

190-
@SuppressWarnings("deprecation")
191190
private SAXSource readSAXSource(InputStream body) throws IOException {
192191
try {
193192
XMLReader xmlReader = org.xml.sax.helpers.XMLReaderFactory.createXMLReader();

0 commit comments

Comments
 (0)