tabs to whitespace

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@979179 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2010-07-26 06:43:31 +00:00
parent 6db113f1c9
commit c9c9af98d8
1 changed files with 9 additions and 9 deletions

View File

@ -83,26 +83,26 @@ public class MutableObject<T> implements Mutable<T>, Serializable {
* </p>
*
* @param obj the object to compare with, <code>null</code> returns <code>false</code>
* @return <code>true</code> if the objects are the same;
* <code>true</code> if the objects have equivalent <code>value</code> fields;
* @return <code>true</code> if the objects are the same;
* <code>true</code> if the objects have equivalent <code>value</code> fields;
* <code>false</code> otherwise.
*/
@SuppressWarnings("unchecked")
@Override
public boolean equals(Object obj) {
public boolean equals(Object obj) {
if (obj == null) {
return false;
return false;
}
if (this == obj) {
return true;
return true;
}
if (this.getClass() == obj.getClass()) {
if (this.getClass() == obj.getClass()) {
MutableObject<T> that = (MutableObject<T>) obj;
return this.value.equals(that.value);
}
else {
return false;
}
else {
return false;
}
}
/**