Skip to content

Commit 74cc427

Browse files
committed
fix equals
1 parent 5b475d1 commit 74cc427

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sentry/src/main/java/io/sentry/protocol/FeatureFlag.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ public void setResult(final @NotNull Boolean result) {
5252
public boolean equals(Object o) {
5353
if (this == o) return true;
5454
if (o == null || getClass() != o.getClass()) return false;
55-
FeatureFlag flag = (FeatureFlag) o;
56-
return Objects.equals(flag, flag.flag) && Objects.equals(result, flag.result);
55+
final @NotNull FeatureFlag otherFlag = (FeatureFlag) o;
56+
return Objects.equals(flag, otherFlag.flag) && Objects.equals(result, otherFlag.result);
5757
}
5858

5959
@Override

0 commit comments

Comments
 (0)