You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by jk...@apache.org on 2005/12/04 01:11:28 UTC

svn commit: r352053 - /incubator/woden/java/src/javax/xml/namespace/QName.java

Author: jkaputin
Date: Sat Dec  3 16:11:21 2005
New Revision: 352053

URL: http://svn.apache.org/viewcvs?rev=352053&view=rev
Log:
Simplified the 2 arg ctor by passing the namespaceURI
argument straight through to the 3 arg ctor without
checking for null first (i.e. this is done anyway in
the 3 arg ctor).

Modified:
    incubator/woden/java/src/javax/xml/namespace/QName.java

Modified: incubator/woden/java/src/javax/xml/namespace/QName.java
URL: http://svn.apache.org/viewcvs/incubator/woden/java/src/javax/xml/namespace/QName.java?rev=352053&r1=352052&r2=352053&view=diff
==============================================================================
--- incubator/woden/java/src/javax/xml/namespace/QName.java (original)
+++ incubator/woden/java/src/javax/xml/namespace/QName.java Sat Dec  3 16:11:21 2005
@@ -99,9 +99,7 @@
    */
   public QName(String namespaceURI, String localPart)
   {
-      this(namespaceURI == null ? emptyString : namespaceURI,
-           localPart,
-           emptyString);
+      this(namespaceURI, localPart, emptyString);
   }
 
   /**



---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org