ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1686299 - /webservices/axiom/branches/attrs-aspects/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/NamespaceDeclaration.java
Date Thu, 18 Jun 2015 19:26:09 GMT
Author: veithen
Date: Thu Jun 18 19:26:09 2015
New Revision: 1686299

URL: http://svn.apache.org/r1686299
Log:
Fix TODO item.

Modified:
    webservices/axiom/branches/attrs-aspects/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/NamespaceDeclaration.java

Modified: webservices/axiom/branches/attrs-aspects/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/NamespaceDeclaration.java
URL: http://svn.apache.org/viewvc/webservices/axiom/branches/attrs-aspects/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/NamespaceDeclaration.java?rev=1686299&r1=1686298&r2=1686299&view=diff
==============================================================================
--- webservices/axiom/branches/attrs-aspects/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/NamespaceDeclaration.java
(original)
+++ webservices/axiom/branches/attrs-aspects/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/NamespaceDeclaration.java
Thu Jun 18 19:26:09 2015
@@ -29,7 +29,8 @@ public final class NamespaceDeclaration
     }
 
     public OMInformationItem clone(OMCloneOptions options) {
-        // TODO
-        throw new UnsupportedOperationException();
+        NamespaceDeclaration decl = new NamespaceDeclaration(getOMFactory());
+        decl.setDeclaredNamespace(getDeclaredNamespace());
+        return decl;
     }
 }



Mime
View raw message