Skip to content

Commit

Permalink
Fix static check: openjdk17 strict compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshat-Jain committed Jul 26, 2024
1 parent b611a6b commit 7f864cb
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ public boolean equals(Object o)
}
CounterSnapshotsTree that = (CounterSnapshotsTree) o;
synchronized (snapshotsMap) {
return Objects.equals(snapshotsMap, that.snapshotsMap);
synchronized (that.snapshotsMap) {
return Objects.equals(snapshotsMap, that.snapshotsMap);
}
}
}

Expand Down

0 comments on commit 7f864cb

Please sign in to comment.