commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dmi...@apache.org
Subject cvs commit: jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/ri JXPathContextReferenceImpl.java
Date Fri, 21 Feb 2003 00:37:27 GMT
dmitri      2003/02/20 16:37:26

  Modified:    jxpath/src/java/org/apache/commons/jxpath/ri
                        JXPathContextReferenceImpl.java
  Log:
  Fixed a ClassCastException
  
  Revision  Changes    Path
  1.29      +5 -5      jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/ri/JXPathContextReferenceImpl.java
  
  Index: JXPathContextReferenceImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/ri/JXPathContextReferenceImpl.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- JXPathContextReferenceImpl.java	19 Feb 2003 00:59:52 -0000	1.28
  +++ JXPathContextReferenceImpl.java	21 Feb 2003 00:37:26 -0000	1.29
  @@ -522,7 +522,7 @@
       public void removeAll(String xpath, Expression expr) {
           try {
               ArrayList list = new ArrayList();
  -            Iterator it = expr.iterate(getEvalContext());
  +            Iterator it = expr.iteratePointers(getEvalContext());
               while (it.hasNext()) {
                   list.add(it.next());
               }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message