Commit bc59f62
committed
Fix PMD warnings of using == and !=
`ANY_VALUE` should use reference equality, but it also doesn't
override .equals so this doesn't really make a difference, but
is less surprising to readers.
The comparison in the logging was unnecessary, the toString for
`ANY_VALUE` is `*any*` which works just as well.1 parent 50a9fed commit bc59f62
File tree
2 files changed
+2
-2
lines changed- fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/provider/foundationdb/keyspace
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
0 commit comments