Remove redundant hash code for the same field

Closes gh-9608
This commit is contained in:
Johnny Lim
2017-06-27 09:24:28 +09:00
committed by Stephane Nicoll
parent 4c29a8cfa2
commit 4dee630d36

View File

@@ -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