/[classpath]/classpath/gnu/xml/xpath/EqualityExpr.java
ViewVC logotype

Diff of /classpath/gnu/xml/xpath/EqualityExpr.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by mark, Sat Jul 2 20:32:22 2005 UTC revision 1.3 by dog, Wed Jul 6 20:22:15 2005 UTC
# Line 91  final class EqualityExpr Line 91  final class EqualityExpr
91        {        {
92          Collection lns = (Collection) left;          Collection lns = (Collection) left;
93          Collection rns = (Collection) right;          Collection rns = (Collection) right;
94            if (lns.isEmpty())
95              {
96                return false;
97              }
98          boolean all = true;          boolean all = true;
99          for (Iterator i = lns.iterator(); i.hasNext(); )          for (Iterator i = lns.iterator(); i.hasNext(); )
100            {            {
# Line 119  final class EqualityExpr Line 123  final class EqualityExpr
123                    }                    }
124                }                }
125            }            }
126          return false;          return all;
127        }        }
128      /*      /*
129       * If one object to be compared is a node-set and the other is a number,       * If one object to be compared is a node-set and the other is a number,

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26