Skip to content

Commit

Permalink
Update exception messages
Browse files Browse the repository at this point in the history
  • Loading branch information
safris committed Jul 7, 2023
1 parent dd433b0 commit 1a7ea4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/libj/test/SimpleNamespaceContext.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public String getNamespaceURI(final String prefix) {
@Override
public String getPrefix(final String uri) {
if (uri == null)
throw new IllegalArgumentException("uri == null");
throw new IllegalArgumentException("uri is null");

if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri))
return "xmlns";
Expand All @@ -79,7 +79,7 @@ public String getPrefix(final String uri) {
@Override
public Iterator<String> getPrefixes(final String uri) {
if (uri == null)
throw new IllegalArgumentException("uri == null");
throw new IllegalArgumentException("uri is null");

if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri))
return xmlns.iterator();
Expand Down

0 comments on commit 1a7ea4c

Please sign in to comment.