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:
Henri Yandell 2007-11-12 19:54:49 +00:00
parent 4a76e18797
commit f58c863e0b
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@
* 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;