axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r209921 - /webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/xpath/DocumentNavigator.java
Date Sat, 09 Jul 2005 02:39:49 GMT
Author: dims
Date: Fri Jul  8 19:39:48 2005
New Revision: 209921

URL: http://svn.apache.org/viewcvs?rev=209921&view=rev
Log:
minor cleanup

Modified:
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/xpath/DocumentNavigator.java

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/xpath/DocumentNavigator.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/xpath/DocumentNavigator.java?rev=209921&r1=209920&r2=209921&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/xpath/DocumentNavigator.java
(original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/xpath/DocumentNavigator.java
Fri Jul  8 19:39:48 2005
@@ -1,23 +1,25 @@
 package org.apache.axis2.om.xpath;
 
-import org.jaxen.DefaultNavigator;
-import org.jaxen.*;
-import org.jaxen.util.SingleObjectIterator;
-import org.jaxen.saxpath.SAXPathException;
-import org.apache.axis2.om.impl.llom.OMDocument;
-import org.apache.axis2.om.impl.llom.builder.StAXOMBuilder;
-import org.apache.axis2.om.OMElement;
 import org.apache.axis2.om.OMAttribute;
+import org.apache.axis2.om.OMElement;
 import org.apache.axis2.om.OMNamespace;
 import org.apache.axis2.om.OMNode;
 import org.apache.axis2.om.OMText;
-import org.apache.axis2.om.OMFactory;
+import org.apache.axis2.om.impl.llom.OMDocument;
+import org.apache.axis2.om.impl.llom.builder.StAXOMBuilder;
+import org.jaxen.BaseXPath;
+import org.jaxen.DefaultNavigator;
+import org.jaxen.FunctionCallException;
+import org.jaxen.JaxenConstants;
+import org.jaxen.UnsupportedAxisException;
+import org.jaxen.XPath;
+import org.jaxen.saxpath.SAXPathException;
+import org.jaxen.util.SingleObjectIterator;
 
-import javax.xml.stream.XMLStreamReader;
 import javax.xml.stream.XMLInputFactory;
-import java.util.Iterator;
+import javax.xml.stream.XMLStreamReader;
 import java.net.URL;
-import java.net.MalformedURLException;
+import java.util.Iterator;
 
 public class DocumentNavigator extends DefaultNavigator {
 
@@ -35,8 +37,7 @@
      *      correct XPath expression
      */
     public XPath parseXPath(String xpath) throws SAXPathException {
-        XPath path = new BaseXPath(xpath, this);
-        return path;
+        return (XPath)new BaseXPath(xpath, this);
     }
 
     /**



Mime
View raw message