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 void setValue(T value) {
* </p> * </p>
* *
* @param obj the object to compare with, <code>null</code> returns <code>false</code> * @param obj the object to compare with, <code>null</code> returns <code>false</code>
* @return <code>true</code> if the objects are the same; * @return <code>true</code> if the objects are the same;
* <code>true</code> if the objects have equivalent <code>value</code> fields; * <code>true</code> if the objects have equivalent <code>value</code> fields;
* <code>false</code> otherwise. * <code>false</code> otherwise.
*/ */
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@Override @Override
public boolean equals(Object obj) { public boolean equals(Object obj) {
if (obj == null) { if (obj == null) {
return false; return false;
} }
if (this == obj) { if (this == obj) {
return true; return true;
} }
if (this.getClass() == obj.getClass()) { if (this.getClass() == obj.getClass()) {
MutableObject<T> that = (MutableObject<T>) obj; MutableObject<T> that = (MutableObject<T>) obj;
return this.value.equals(that.value); return this.value.equals(that.value);
} }
else { else {
return false; return false;
} }
} }
/** /**