Merge pull request #9608 from izeye:patch-22

* pr/9608:
  Remove redundant hash code for the same field
This commit is contained in:
Stephane Nicoll
2017-06-27 08:41:09 +02:00

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