Skip to content

Commit

Permalink
Stop DuplicateJsonObjectContextCustomizer breaking context caching
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkinsona committed Jun 6, 2017
1 parent 21a5ab7 commit 8472166
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,19 @@ private void logDuplicateJsonObjectsWarning(List<URL> jsonObjects) {
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;
}

}

}

0 comments on commit 8472166

Please sign in to comment.