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/08/28 01:30:21 UTC

svn commit: r1698246 - /webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NodeImpl.java

Author: veithen
Date: Thu Aug 27 23:30:21 2015
New Revision: 1698246

URL: http://svn.apache.org/r1698246
Log:
Remove unused code.

Modified:
    webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NodeImpl.java

Modified: webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NodeImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NodeImpl.java?rev=1698246&r1=1698245&r2=1698246&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NodeImpl.java (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NodeImpl.java Thu Aug 27 23:30:21 2015
@@ -22,7 +22,6 @@ package org.apache.axiom.om.impl.dom;
 import static org.apache.axiom.dom.DOMExceptionTranslator.newDOMException;
 
 import org.apache.axiom.core.ClonePolicy;
-import org.apache.axiom.core.CoreChildNode;
 import org.apache.axiom.dom.DOMNode;
 import org.apache.axiom.dom.Policies;
 import org.apache.axiom.om.OMCloneOptions;
@@ -324,15 +323,6 @@ public abstract class NodeImpl implement
             throw newDOMException(DOMException.WRONG_DOCUMENT_ERR);
         }
     }
-    
-    ParentNode parentNode() {
-        // TODO: get rid of this
-        if (this instanceof CoreChildNode) {
-            return (ParentNode)((CoreChildNode)this).coreGetParent();
-        } else {
-            return null;
-        }
-    }
 
     // /
     // /OMNode methods