/[classpath]/classpath/java/util/Arrays.java
ViewVC logotype

Diff of /classpath/java/util/Arrays.java

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

revision 1.14 by tromey, Wed Jan 23 00:06:10 2002 UTC revision 1.15 by mark, Sat Feb 9 14:36:42 2002 UTC
# Line 1  Line 1 
1  /* Arrays.java -- Utility class with methods to operate on arrays  /* Arrays.java -- Utility class with methods to operate on arrays
2     Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.     Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 2430  public class Arrays Line 2430  public class Arrays
2430      {      {
2431        int size = a.length;        int size = a.length;
2432        for (int i = 0; i < size; i++)        for (int i = 0; i < size; i++)
2433          if (equals(o, a[i]))          if (this.equals(o, a[i]))
2434            return i;            return i;
2435        return -1;        return -1;
2436      }      }
# Line 2439  public class Arrays Line 2439  public class Arrays
2439      {      {
2440        int i = a.length;        int i = a.length;
2441        while (--i >= 0)        while (--i >= 0)
2442          if (equals(o, a[i]))          if (this.equals(o, a[i]))
2443            return i;            return i;
2444        return -1;        return -1;
2445      }      }

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

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