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 f4fca74 commit 74484d2Copy full SHA for 74484d2
share/src/test/java/org/apache/kafka/server/share/fetch/PartitionMaxBytesStrategyTest.java
@@ -23,7 +23,6 @@
23
24
import org.junit.jupiter.api.Test;
25
26
-import java.util.Collections;
27
import java.util.LinkedHashMap;
28
import java.util.LinkedHashSet;
29
import java.util.List;
@@ -56,7 +55,7 @@ public void testCheckValidArguments() {
56
55
100, partitions, 0));
57
// empty partitions set.
58
assertThrows(IllegalArgumentException.class, () -> PartitionMaxBytesStrategy.checkValidArguments(
59
- 100, Collections.EMPTY_SET, 20));
+ 100, Set.of(), 20));
60
// partitions is null.
61
62
100, null, 20));
0 commit comments