You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2015/09/01 00:29:24 UTC
svn commit: r1700365 -
/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMNodeImpl.java
Author: veithen
Date: Mon Aug 31 22:29:24 2015
New Revision: 1700365
URL: http://svn.apache.org/r1700365
Log:
Remove unused code.
Modified:
webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMNodeImpl.java
Modified: webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMNodeImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMNodeImpl.java?rev=1700365&r1=1700364&r2=1700365&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMNodeImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMNodeImpl.java Mon Aug 31 22:29:24 2015
@@ -19,7 +19,6 @@
package org.apache.axiom.om.impl.llom;
-import org.apache.axiom.core.CoreParentNode;
import org.apache.axiom.om.OMFactory;
import org.apache.axiom.om.impl.common.AxiomChildNode;
@@ -33,29 +32,4 @@ public abstract class OMNodeImpl extends
public OMNodeImpl(OMFactory factory) {
super(factory);
}
-
- /**
- * Method setParent.
- *
- * @param element
- */
- public void coreSetParent(CoreParentNode element) {
- CoreParentNode currentParent = coreGetParent();
-
- if (currentParent == element) {
- return;
- }
-
- //If we are asked to assign a new parent in place
- //of an existing one. We should detach this node
- //from the previous parent.
- if (element != null) {
- if (currentParent != null) {
- this.detach();
- }
- internalSetParent(element);
- } else {
- internalUnsetParent(null);
- }
- }
}