mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
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:
committed by
Juergen Hoeller
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) {
|
||||
|
||||
Reference in New Issue
Block a user