Use an import instead of FQCN

javax.xml.stream.Location is already there as an import there is no need
to use the FQCN in the handleDtd method.
master
Marten Deinum 6 years ago committed by Juergen Hoeller
parent 20d0221d4f
commit 5322fa0fb7
  1. 2
      spring-core/src/main/java/org/springframework/util/xml/StaxStreamXMLReader.java

@ -243,7 +243,7 @@ class StaxStreamXMLReader extends AbstractStaxXMLReader {
private void handleDtd() throws SAXException {
if (getLexicalHandler() != null) {
javax.xml.stream.Location location = this.reader.getLocation();
Location location = this.reader.getLocation();
getLexicalHandler().startDTD(null, location.getPublicId(), location.getSystemId());
}
if (getLexicalHandler() != null) {

Loading…
Cancel
Save