adjust arg name to match javadoc comment
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130918 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f150178847
commit
57335290f7
|
@ -70,7 +70,7 @@ import java.util.Comparator;
|
|||
*
|
||||
* @since 2.0
|
||||
* @author bayard@generationjava.com
|
||||
* @version $Revision: 1.6 $ $Date: 2003/01/07 18:40:45 $
|
||||
* @version $Revision: 1.7 $ $Date: 2003/01/07 18:49:01 $
|
||||
*/
|
||||
public class ComparableComparator implements Comparator,Serializable {
|
||||
|
||||
|
@ -164,8 +164,8 @@ public class ComparableComparator implements Comparator,Serializable {
|
|||
* 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())));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue