commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwaldh...@apache.org
Subject cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections/comparators ComparableComparator.java
Date Tue, 07 Jan 2003 18:49:01 GMT
rwaldhoff    2003/01/07 10:49:01

  Modified:    collections/src/java/org/apache/commons/collections/comparators
                        ComparableComparator.java
  Log:
  adjust arg name to match javadoc comment
  
  Revision  Changes    Path
  1.7       +4 -4      jakarta-commons/collections/src/java/org/apache/commons/collections/comparators/ComparableComparator.java
  
  Index: ComparableComparator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/comparators/ComparableComparator.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ComparableComparator.java	7 Jan 2003 18:40:45 -0000	1.6
  +++ ComparableComparator.java	7 Jan 2003 18:49:01 -0000	1.7
  @@ -164,8 +164,8 @@
        * contract.
        * @since Collections 2.2
        */
  -    public boolean equals(Object obj) {
  -        return (this == obj) || 
  -               ((null != obj) && (obj.getClass().equals(this.getClass())));
  +    public boolean equals(Object that) {
  +        return (this == that) || 
  +               ((null != that) && (that.getClass().equals(this.getClass())));
       }
   }
  
  
  

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


Mime
View raw message