Skip to content

Commit

Permalink
Merge branch 'master' into issue-842
Browse files Browse the repository at this point in the history
  • Loading branch information
msridhar authored Oct 8, 2023
2 parents cdb287b + 424cf63 commit 2831567
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 2831567

Please sign in to comment.