commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r603646 - /commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/BasicNodeSet.java
Date Wed, 12 Dec 2007 15:43:13 GMT
Author: mbenson
Date: Wed Dec 12 07:43:12 2007
New Revision: 603646

URL: http://svn.apache.org/viewvc?rev=603646&view=rev
Log:
[JXPATH-105] getNodes() returned values instead of nodes

Modified:
    commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/BasicNodeSet.java

Modified: commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/BasicNodeSet.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/BasicNodeSet.java?rev=603646&r1=603645&r2=603646&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/BasicNodeSet.java (original)
+++ commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/BasicNodeSet.java Wed Dec
12 07:43:12 2007
@@ -61,7 +61,7 @@
             nodes = new ArrayList();
             for (int i = 0; i < pointers.size(); i++) {
                 Pointer pointer = (Pointer) pointers.get(i);
-                nodes.add(pointer.getValue());
+                nodes.add(pointer.getNode());
             }
             nodes = Collections.unmodifiableList(nodes);
         }



Mime
View raw message