Fix deprecation in Spring Framework

This commit is contained in:
Stephane Nicoll 2023-09-13 17:14:46 +02:00
parent d6a571039d
commit 4243456590
1 changed files with 1 additions and 7 deletions

View File

@ -156,13 +156,7 @@ public final class Bindable<T> {
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ObjectUtils.nullSafeHashCode(this.type);
result = prime * result + ObjectUtils.nullSafeHashCode(this.annotations);
result = prime * result + ObjectUtils.nullSafeHashCode(this.bindRestrictions);
result = prime * result + ObjectUtils.nullSafeHashCode(this.bindMethod);
return result;
return ObjectUtils.nullSafeHash(this.type, this.annotations, this.bindRestrictions, this.bindMethod);
}
@Override