Author: fanningpj Date: Mon Jun 24 10:31:30 2024 New Revision: 1918537 URL: http://svn.apache.org/viewvc?rev=1918537&view=rev Log: fix compile issue
Modified: xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/common/XMLNameHelper.java Modified: xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/common/XMLNameHelper.java URL: http://svn.apache.org/viewvc/xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/common/XMLNameHelper.java?rev=1918537&r1=1918536&r2=1918537&view=diff ============================================================================== --- xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/common/XMLNameHelper.java (original) +++ xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/common/XMLNameHelper.java Mon Jun 24 10:31:30 2024 @@ -54,7 +54,7 @@ public class XMLNameHelper if (name == null) return "null"; - if (name.getNamespaceUri() == null || name.getNamespaceURI().isEmpty()) + if (name.getNamespaceUri() == null || name.getNamespaceUri().isEmpty()) return name.getLocalName(); return name.getLocalName() + "@" + name.getNamespaceUri(); @@ -109,7 +109,7 @@ public class XMLNameHelper public static String hexsafedir(XMLName name) { - if (name.getNamespaceUri() == null || name.getNamespaceURI().isEmpty()) + if (name.getNamespaceUri() == null || name.getNamespaceUri().isEmpty()) return "_nons/" + hexsafe(name.getLocalName()); return hexsafe(name.getNamespaceUri()) + "/" + hexsafe(name.getLocalName()); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@poi.apache.org For additional commands, e-mail: commits-h...@poi.apache.org