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
|
* @since 2.0
|
||||||
* @author bayard@generationjava.com
|
* @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 {
|
public class ComparableComparator implements Comparator,Serializable {
|
||||||
|
|
||||||
|
@ -164,8 +164,8 @@ public class ComparableComparator implements Comparator,Serializable {
|
||||||
* contract.
|
* contract.
|
||||||
* @since Collections 2.2
|
* @since Collections 2.2
|
||||||
*/
|
*/
|
||||||
public boolean equals(Object obj) {
|
public boolean equals(Object that) {
|
||||||
return (this == obj) ||
|
return (this == that) ||
|
||||||
((null != obj) && (obj.getClass().equals(this.getClass())));
|
((null != that) && (that.getClass().equals(this.getClass())));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue