Skip to content

Commit dcf235c

Browse files
committed
Consistent naming
1 parent ae1c451 commit dcf235c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

utils/src/main/java/datadog/instrument/utils/ClassNameFilter.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ public boolean contains(CharSequence className) {
5656

5757
// try to find matching slot, rehashing after each attempt
5858
for (int i = 1, h = hash; true; i++, h = rehash(h)) {
59-
long codeAndHash = members[slotMask & h];
60-
if (codeAndHash != 0) {
59+
long existing = members[slotMask & h];
60+
if (existing != 0) {
6161
// check hash first as it's cheap, then check class-code
62-
if ((int) codeAndHash == hash) {
63-
return checkClassCode(className, (int) (codeAndHash >>> 32));
62+
if ((int) existing == hash) {
63+
return checkClassCode(className, (int) (existing >>> 32));
6464
} else if (i < MAX_HASH_ATTEMPTS) {
6565
continue; // rehash and try again
6666
}

0 commit comments

Comments
 (0)