mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-28 14:52:24 +00:00
Minor formatting changes.
This commit is contained in:
parent
8d24027443
commit
4b1e738bb5
@ -108,11 +108,15 @@ public abstract class AbstractAdapterAuthenticationToken
|
|||||||
|
|
||||||
public boolean equals(Object obj) {
|
public boolean equals(Object obj) {
|
||||||
if (obj instanceof AbstractAdapterAuthenticationToken) {
|
if (obj instanceof AbstractAdapterAuthenticationToken) {
|
||||||
if (!super.equals(obj))
|
if (!super.equals(obj)) {
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
AbstractAdapterAuthenticationToken test = (AbstractAdapterAuthenticationToken) obj;
|
AbstractAdapterAuthenticationToken test = (AbstractAdapterAuthenticationToken) obj;
|
||||||
|
|
||||||
return (this.getKeyHash() == test.getKeyHash());
|
return (this.getKeyHash() == test.getKeyHash());
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user