cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r751529 - /cxf/trunk/rt/frontend/js/src/main/java/org/apache/cxf/js/rhino/AbstractDOMProvider.java
Date Sun, 08 Mar 2009 21:02:42 GMT
Author: dkulp
Date: Sun Mar  8 21:02:42 2009
New Revision: 751529

URL: http://svn.apache.org/viewvc?rev=751529&view=rev
Log:
Remove some unneeded code and deps

Modified:
    cxf/trunk/rt/frontend/js/src/main/java/org/apache/cxf/js/rhino/AbstractDOMProvider.java

Modified: cxf/trunk/rt/frontend/js/src/main/java/org/apache/cxf/js/rhino/AbstractDOMProvider.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/js/src/main/java/org/apache/cxf/js/rhino/AbstractDOMProvider.java?rev=751529&r1=751528&r2=751529&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/js/src/main/java/org/apache/cxf/js/rhino/AbstractDOMProvider.java
(original)
+++ cxf/trunk/rt/frontend/js/src/main/java/org/apache/cxf/js/rhino/AbstractDOMProvider.java
Sun Mar  8 21:02:42 2009
@@ -32,8 +32,6 @@
 
 import org.w3c.dom.Node;
 
-import org.apache.xmlbeans.XmlObject;
-
 import org.mozilla.javascript.Context;
 import org.mozilla.javascript.ContextFactory;
 import org.mozilla.javascript.Function;
@@ -178,9 +176,6 @@
             if (jsResp instanceof XMLObject) {
                 jsResp = org.mozilla.javascript.xmlimpl.XMLLibImpl.toDomNode(jsResp);
             }
-            if (jsResp instanceof XmlObject) {
-                jsResp = ((XmlObject)jsResp).getDomNode();
-            }
             if (jsResp instanceof Node) {
                 node = (Node)jsResp;
                 response.setNode(node);



Mime
View raw message