Skip to content

Commit

Permalink
Use value from QName constant instead of hard-coded string
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeEdgar committed Jun 27, 2020
1 parent 9358c82 commit d9dcba3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -140,7 +140,7 @@ public void writeStartElement(String localName) throws XMLStreamException {
uri = getNamespaceURI(XMLConstants.DEFAULT_NS_PREFIX);
}

if ("INTERCHANGE".equals(local)) {
if (INTERCHANGE.getLocalPart().equals(local)) {
writeStart(INTERCHANGE);
} else {
if (uri == null || uri.isEmpty()) {
Expand Down

0 comments on commit d9dcba3

Please sign in to comment.