Fix ResolvableType hashCode generation
Fix ResolvableType.hashCode() to use the source of the variable resolver, rather than the resolver itself.
This commit is contained in:
parent
69238ba66f
commit
ab2949f2b7
|
@ -690,7 +690,8 @@ public final class ResolvableType implements Serializable {
|
|||
@Override
|
||||
public int hashCode() {
|
||||
int hashCode = ObjectUtils.nullSafeHashCode(this.type);
|
||||
hashCode = hashCode * 31 + ObjectUtils.nullSafeHashCode(this.variableResolver);
|
||||
hashCode = hashCode * 31 + ObjectUtils.nullSafeHashCode(
|
||||
this.variableResolver == null ? null : this.variableResolver.getSource());
|
||||
hashCode = hashCode * 31 + ObjectUtils.nullSafeHashCode(this.componentType);
|
||||
return hashCode;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue