mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-26 22:32:07 +01:00
Do not hide member has with local variable
This commit is contained in:
parent
e368a8b16a
commit
452ee3fb30
1 changed files with 6 additions and 6 deletions
|
@ -171,12 +171,12 @@ public final class UserId implements CharSequence {
|
||||||
if (hash != Long.MAX_VALUE) {
|
if (hash != Long.MAX_VALUE) {
|
||||||
return (int) hash;
|
return (int) hash;
|
||||||
} else {
|
} else {
|
||||||
int hash = 7;
|
int hashCode = 7;
|
||||||
hash = 31 * hash + (name == null ? 0 : name.hashCode());
|
hashCode = 31 * hashCode + (name == null ? 0 : name.hashCode());
|
||||||
hash = 31 * hash + (comment == null ? 0 : comment.hashCode());
|
hashCode = 31 * hashCode + (comment == null ? 0 : comment.hashCode());
|
||||||
hash = 31 * hash + (email == null ? 0 : email.toLowerCase().hashCode());
|
hashCode = 31 * hashCode + (email == null ? 0 : email.toLowerCase().hashCode());
|
||||||
this.hash = hash;
|
this.hash = hashCode;
|
||||||
return hash;
|
return hashCode;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue