Skip to content

Commit

Permalink
Merge remote-tracking branch 'msridhar/issue-842' into issue-842
Browse files Browse the repository at this point in the history
  • Loading branch information
msridhar committed Oct 8, 2023
2 parents f708a1a + 2831567 commit 3e58095
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,14 @@ public int hashCode() {
return Long.hashCode(this.key);
}

/**
* We ignore this method for code coverage since there is non-determinism somewhere deep in a
* Map implementation such that, depending on how AccessPaths get bucketed in the Map (which
* depends on non-deterministic hash codes), sometimes this method is called and sometimes it is
* not.
*/
@Override
@JacocoIgnoreGenerated
public boolean equals(Object obj) {
if (obj instanceof NumericMapKey) {
return this.key == ((NumericMapKey) obj).key;
Expand Down

0 comments on commit 3e58095

Please sign in to comment.