Minor formatting changes.

This commit is contained in:
Ben Alex 2004-03-28 11:57:55 +00:00
parent 8d24027443
commit 4b1e738bb5
1 changed files with 9 additions and 5 deletions

View File

@ -106,13 +106,17 @@ public abstract class AbstractAdapterAuthenticationToken
return false;
}
public boolean equals(Object obj) {
public boolean equals(Object obj) {
if (obj instanceof AbstractAdapterAuthenticationToken) {
if (!super.equals(obj))
return false;
AbstractAdapterAuthenticationToken test = (AbstractAdapterAuthenticationToken) obj;
if (!super.equals(obj)) {
return false;
}
AbstractAdapterAuthenticationToken test = (AbstractAdapterAuthenticationToken) obj;
return (this.getKeyHash() == test.getKeyHash());
}
return false;
}
}
}