Deserialized type's hashCode() should compute everything
This commit is contained in:
+2
-2
@@ -279,8 +279,8 @@ public class TypeDeserializer {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
int result = constructor != null ? constructor.hashCode() : 0;
|
int result = getConstructor().hashCode();
|
||||||
result = 31 * result + arguments.hashCode();
|
result = 31 * result + getArguments().hashCode();
|
||||||
result = 31 * result + (isNullable() ? 1 : 0);
|
result = 31 * result + (isNullable() ? 1 : 0);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user