Skip to content

Commit 0c43772

Browse files
Reverted equals behavior change from PR 127 (#133)
See https://github.com/Eppo-exp/sdk-common-jdk/pull/127/files#r2141103699
1 parent ccd9bac commit 0c43772

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/cloud/eppo/cache/AssignmentCacheEntry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public boolean equals(Object o) {
3232
if (o == null || getClass() != o.getClass()) return false;
3333
AssignmentCacheEntry that = (AssignmentCacheEntry) o;
3434
return Objects.equals(key, that.key)
35-
&& Objects.equals(value, that.value);
35+
&& Objects.equals(value.getValueIdentifier(), that.value.getValueIdentifier());
3636
}
3737

3838
@Override

0 commit comments

Comments
 (0)