Stop DuplicateJsonObjectContextCustomizer breaking context caching

See gh-9248
pull/9258/merge
Andy Wilkinson 8 years ago
parent 21a5ab7875
commit 84721666c5

@ -85,6 +85,19 @@ class DuplicateJsonObjectContextCustomizerFactory implements ContextCustomizerFa
this.logger.warn(message);
}
@Override
public int hashCode() {
return getClass().hashCode();
}
@Override
public boolean equals(Object obj) {
if (obj == null || obj.getClass() != getClass()) {
return false;
}
return true;
}
}
}

Loading…
Cancel
Save