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.
This commit is contained in:
Marten Deinum 2018-08-13 10:34:17 +02:00 committed by Juergen Hoeller
parent 20d0221d4f
commit 5322fa0fb7
1 changed files with 1 additions and 1 deletions

View File

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