We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d097e7b commit 676cf7cCopy full SHA for 676cf7c
class-match/src/main/java/datadog/instrument/classmatch/InternalNames.java
@@ -32,7 +32,7 @@ final class InternalNames extends AbstractSet<String> {
32
*/
33
InternalNames(Collection<String> types) {
34
// attempt to hash types into a table with ~75% load factor
35
- int tableSize = Integer.max(8, types.size() * 4 / 3) - 1;
+ int tableSize = Math.max(8, types.size() * 4 / 3) - 1;
36
int slotMask = -1 >>> Integer.numberOfLeadingZeros(tableSize);
37
String[] table = new String[slotMask + 1];
38
Iterator<String> itr = types.iterator();
0 commit comments