mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-23 04:22:17 +00:00
Minor formatting changes.
This commit is contained in:
parent
8d24027443
commit
4b1e738bb5
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user