Remove redundant hash code for the same field
Closes gh-9608
This commit is contained in:
committed by
Stephane Nicoll
parent
4c29a8cfa2
commit
4dee630d36
@@ -47,9 +47,7 @@ public class SystemEnvironmentOrigin implements Origin {
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
int result = ObjectUtils.nullSafeHashCode(this.property);
|
||||
result = 31 * result + ObjectUtils.nullSafeHashCode(this.property);
|
||||
return result;
|
||||
return ObjectUtils.nullSafeHashCode(this.property);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user