Skip to content

Commit 36c8293

Browse files
authored
Use an import instead of FQCN in StaxEventXMLReader
Closes gh-26875
1 parent 7316dc7 commit 36c8293

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ private void handleComment(Comment comment) throws SAXException {
292292

293293
private void handleDtd(DTD dtd) throws SAXException {
294294
if (getLexicalHandler() != null) {
295-
javax.xml.stream.Location location = dtd.getLocation();
295+
Location location = dtd.getLocation();
296296
getLexicalHandler().startDTD(null, location.getPublicId(), location.getSystemId());
297297
}
298298
if (getLexicalHandler() != null) {

0 commit comments

Comments
 (0)