ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1740207 - in /webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl: intf/AxiomSerializable.java mixin/AxiomContainerSupport.aj mixin/AxiomLeafNodeSupport.aj mixin/AxiomSourcedElementSupport.aj
Date Wed, 20 Apr 2016 22:19:31 GMT
Author: veithen
Date: Wed Apr 20 22:19:30 2016
New Revision: 1740207

URL: http://svn.apache.org/viewvc?rev=1740207&view=rev
Log:
Remove unused code.

Modified:
    webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/intf/AxiomSerializable.java
    webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/mixin/AxiomContainerSupport.aj
    webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/mixin/AxiomLeafNodeSupport.aj
    webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/mixin/AxiomSourcedElementSupport.aj

Modified: webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/intf/AxiomSerializable.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/intf/AxiomSerializable.java?rev=1740207&r1=1740206&r2=1740207&view=diff
==============================================================================
--- webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/intf/AxiomSerializable.java
(original)
+++ webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/intf/AxiomSerializable.java
Wed Apr 20 22:19:30 2016
@@ -21,5 +21,5 @@ package org.apache.axiom.om.impl.intf;
 import org.apache.axiom.om.OMSerializable;
 
 public interface AxiomSerializable extends OMSerializable, AxiomInformationItem {
-    void setComplete(boolean state);
+
 }

Modified: webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/mixin/AxiomContainerSupport.aj
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/mixin/AxiomContainerSupport.aj?rev=1740207&r1=1740206&r2=1740207&view=diff
==============================================================================
--- webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/mixin/AxiomContainerSupport.aj
(original)
+++ webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/mixin/AxiomContainerSupport.aj
Wed Apr 20 22:19:30 2016
@@ -322,9 +322,4 @@ public aspect AxiomContainerSupport {
             builder.close();
         }
     }
-
-    // TODO: overridden in AxiomSourcedElementSupport
-    public void AxiomContainer.setComplete(boolean complete) {
-        coreSetState(complete ? COMPLETE : INCOMPLETE);
-    }
 }

Modified: webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/mixin/AxiomLeafNodeSupport.aj
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/mixin/AxiomLeafNodeSupport.aj?rev=1740207&r1=1740206&r2=1740207&view=diff
==============================================================================
--- webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/mixin/AxiomLeafNodeSupport.aj
(original)
+++ webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/mixin/AxiomLeafNodeSupport.aj
Wed Apr 20 22:19:30 2016
@@ -22,12 +22,6 @@ import org.apache.axiom.om.OMException;
 import org.apache.axiom.om.impl.intf.AxiomLeafNode;
 
 public aspect AxiomLeafNodeSupport {
-    public final void AxiomLeafNode.setComplete(boolean state) {
-        if (state != true) {
-            throw new IllegalStateException();
-        }
-    }
-
     public final void AxiomLeafNode.discard() throws OMException {
         detach();
     }

Modified: webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/mixin/AxiomSourcedElementSupport.aj
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/mixin/AxiomSourcedElementSupport.aj?rev=1740207&r1=1740206&r2=1740207&view=diff
==============================================================================
--- webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/mixin/AxiomSourcedElementSupport.aj
(original)
+++ webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/mixin/AxiomSourcedElementSupport.aj
Wed Apr 20 22:19:30 2016
@@ -441,7 +441,7 @@ public aspect AxiomSourcedElementSupport
                 it.remove();
             }
             this.dataSource = dataSource;
-            setComplete(false);
+            coreSetState(INCOMPLETE);
             isExpanded = false;
             coreSetInputContext(null);
             return oldDS;



Mime
View raw message