diff --git a/src/main/java/com/fasterxml/jackson/module/jsonSchema/JsonSchema.java b/src/main/java/com/fasterxml/jackson/module/jsonSchema/JsonSchema.java index 679f9ca7..639d53e1 100644 --- a/src/main/java/com/fasterxml/jackson/module/jsonSchema/JsonSchema.java +++ b/src/main/java/com/fasterxml/jackson/module/jsonSchema/JsonSchema.java @@ -518,7 +518,7 @@ public boolean equals(Object obj) protected boolean _equals(JsonSchema that) { - return equals(getId(), getId()) + return equals(getId(), that.getId()) // 27-Apr-2015, tatu: Should not need to check type explicitly // && equals(getType(), getType()) && equals(getRequired(), that.getRequired())