Deserialized type's hashCode() should compute everything

This commit is contained in:
Alexander Udalov
2013-06-20 22:13:21 +04:00
parent 6f466b70b0
commit 06496ea3ed
@@ -279,8 +279,8 @@ public class TypeDeserializer {
@Override
public int hashCode() {
int result = constructor != null ? constructor.hashCode() : 0;
result = 31 * result + arguments.hashCode();
int result = getConstructor().hashCode();
result = 31 * result + getArguments().hashCode();
result = 31 * result + (isNullable() ? 1 : 0);
return result;
}