/[fenfire]/fenfire/org/fenfire/util/Pair.java
ViewVC logotype

Diff of /fenfire/org/fenfire/util/Pair.java

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

revision 1.1 by mudyc, Tue Mar 25 15:58:56 2003 UTC revision 1.2 by tjl, Mon Jul 28 07:24:55 2003 UTC
# Line 47  public class Pair { Line 47  public class Pair {
47      public boolean equals(Object o) {      public boolean equals(Object o) {
48          if(!(o instanceof Pair)) return false;          if(!(o instanceof Pair)) return false;
49          Pair p = (Pair)o;          Pair p = (Pair)o;
50          if(first == null || !first.equals(p.first) ||          if((first == null && p.first != null) || !first.equals(p.first) ||
51             second == null || !second.equals(p.second)) return false;             (second == null && p.second != null)|| !second.equals(p.second)) return false;
52          return true;          return true;
53      }      }
54  }  }

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

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