Minor formatting changes.
This commit is contained in:
+8
-4
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user