Fixing javadoc - it's != and not ==. Returning false because two objects have the same class is dumb. This was my dumb typing for LANG-353
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@594275 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4a76e18797
commit
f58c863e0b
|
@ -48,7 +48,7 @@ import java.util.List;
|
|||
* public boolean equals(Object obj) {
|
||||
* if (obj == null) { return false; }
|
||||
* if (obj == this) { return true; }
|
||||
* if (obj.getClass() == getClass()) {
|
||||
* if (obj.getClass() != getClass()) {
|
||||
* return false;
|
||||
* }
|
||||
* MyClass rhs = (MyClass) obj;
|
||||
|
|
Loading…
Reference in New Issue