Merge pull request #9608 from izeye:patch-22
* pr/9608: Remove redundant hash code for the same field
This commit is contained in:
@@ -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