Skip to content

Commit 1dfc954

Browse files
shai-almogCopilot
andauthored
Update CodenameOne/src/com/codename1/xml/XMLParser.java
Co-authored-by: Copilot <[email protected]>
1 parent 8a115e2 commit 1dfc954

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CodenameOne/src/com/codename1/xml/XMLParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ protected Element parseTag(Reader is) throws IOException {
697697
c = (char) read(is);
698698
}
699699

700-
if ((char)c == '>') { // tag close char shouldn't be found here, but if the XML is slightly malformed we return the element
700+
if (c == '>') { // tag close char shouldn't be found here, but if the XML is slightly malformed we return the element
701701
notifyError(ParserCallback.ERROR_UNEXPECTED_TAG_CLOSING, tn, curAttribute.toString(), null, "Unexpected tag closing in tag " + tagName + ", attribute=" + curAttribute);
702702
if (!isEmptyTag(tn)) {
703703
parseTagContent(element, is);

0 commit comments

Comments
 (0)