ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1700159 - in /webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom: AttrImpl.java NSAwareAttribute.java NSUnawareAttribute.java NamespaceDeclaration.java
Date Sun, 30 Aug 2015 20:22:07 GMT
Author: veithen
Date: Sun Aug 30 20:22:06 2015
New Revision: 1700159

URL: http://svn.apache.org/r1700159
Log:
Clean up DOOM constructors.

Modified:
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/AttrImpl.java
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NSAwareAttribute.java
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NSUnawareAttribute.java
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NamespaceDeclaration.java

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/AttrImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/AttrImpl.java?rev=1700159&r1=1700158&r2=1700159&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/AttrImpl.java
(original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/AttrImpl.java
Sun Aug 30 20:22:06 2015
@@ -29,9 +29,8 @@ public abstract class AttrImpl extends P
     /** Flag used to mark an attribute as per the DOM Level 3 specification */
     protected boolean isId;
 
-    AttrImpl(DocumentImpl ownerDocument, OMFactory factory) {
+    AttrImpl(OMFactory factory) {
         super(factory);
-        coreSetOwnerDocument(ownerDocument);
     }
 
     // /

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NSAwareAttribute.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NSAwareAttribute.java?rev=1700159&r1=1700158&r2=1700159&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NSAwareAttribute.java
(original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NSAwareAttribute.java
Sun Aug 30 20:22:06 2015
@@ -27,16 +27,8 @@ import org.apache.axiom.om.impl.OMAttrib
 import org.apache.axiom.om.impl.common.AxiomAttribute;
 
 public final class NSAwareAttribute extends AttrImpl implements OMAttributeEx, AxiomAttribute,
DOMNSAwareAttribute {
-    // TODO: copy isId?
-    NSAwareAttribute(String localName, OMNamespace namespace, String type, OMFactory factory)
{
-        super(null, factory);
-        internalSetLocalName(localName);
-        internalSetNamespace(namespace);
-        coreSetType(type);
-    }
-    
     public NSAwareAttribute(OMFactory factory) {
-        super(null, factory);
+        super(factory);
     }
 
     public String toString() {

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NSUnawareAttribute.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NSUnawareAttribute.java?rev=1700159&r1=1700158&r2=1700159&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NSUnawareAttribute.java
(original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NSUnawareAttribute.java
Sun Aug 30 20:22:06 2015
@@ -26,7 +26,7 @@ import org.apache.axiom.om.OMFactory;
 
 public class NSUnawareAttribute extends AttrImpl implements DOMNSUnawareAttribute {
     public NSUnawareAttribute(OMFactory factory) {
-        super(null, factory);
+        super(factory);
     }
 
     public final NodeFactory coreGetNodeFactory() {

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NamespaceDeclaration.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NamespaceDeclaration.java?rev=1700159&r1=1700158&r2=1700159&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NamespaceDeclaration.java
(original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NamespaceDeclaration.java
Sun Aug 30 20:22:06 2015
@@ -27,7 +27,7 @@ import org.apache.axiom.om.impl.common.O
 
 public final class NamespaceDeclaration extends AttrImpl implements DOMNamespaceDeclaration,
AxiomNamespaceDeclaration {
     public NamespaceDeclaration(OMFactory factory) {
-        super(null, factory);
+        super(factory);
     }
 
     @Override



Mime
View raw message