Browse Source

Use an import instead of FQCN in StaxEventXMLReader

Closes gh-26875
pull/26905/head
Tasuku Nakagawa 4 years ago committed by GitHub
parent
commit
36c829386b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      spring-core/src/main/java/org/springframework/util/xml/StaxEventXMLReader.java

2
spring-core/src/main/java/org/springframework/util/xml/StaxEventXMLReader.java

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

Loading…
Cancel
Save