Use an import instead of FQCN in StaxEventXMLReader

Closes gh-26875
This commit is contained in:
Tasuku Nakagawa
2021-04-30 00:59:26 +09:00
committed by GitHub
parent 7316dc726a
commit 36c829386b

View File

@@ -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) {