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:
parent
20d0221d4f
commit
5322fa0fb7
|
|
@ -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…
Reference in New Issue