Skip to content

Commit 954205b

Browse files
authored
Merge pull request #146 from cernautan/patch-1
fixed id comparison in _equals
2 parents 6eb5f33 + 14e5ff8 commit 954205b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/fasterxml/jackson/module/jsonSchema/JsonSchema.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ public boolean equals(Object obj)
518518

519519
protected boolean _equals(JsonSchema that)
520520
{
521-
return equals(getId(), getId())
521+
return equals(getId(), that.getId())
522522
// 27-Apr-2015, tatu: Should not need to check type explicitly
523523
// && equals(getType(), getType())
524524
&& equals(getRequired(), that.getRequired())

0 commit comments

Comments
 (0)