Skip to content

Commit d441781

Browse files
committed
Do not use * imports
This is failing checkstyle, make sure we use individual static imports. Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
1 parent 50c2c59 commit d441781

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

triemap/src/test/java/tech/pantheon/triemap/TestConcurrentMapComputeIfAbsent.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@
1515
*/
1616
package tech.pantheon.triemap;
1717

18-
import org.junit.jupiter.api.Test;
19-
20-
import static org.junit.jupiter.api.Assertions.*;
18+
import static org.junit.jupiter.api.Assertions.assertEquals;
2119
import static org.junit.jupiter.api.Assertions.assertSame;
20+
import static org.junit.jupiter.api.Assertions.fail;
21+
22+
import org.junit.jupiter.api.Test;
2223

2324
class TestConcurrentMapComputeIfAbsent {
2425
private static final int COUNT = 50 * 1000;
@@ -62,4 +63,4 @@ void testConflictingHash() {
6263
// Check with equivalent key
6364
assertSame(v3, map.computeIfAbsent(k3dup, k -> v3));
6465
}
65-
}
66+
}

triemap/src/test/java/tech/pantheon/triemap/TestConcurrentMapComputeIfPresent.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,13 @@
1515
*/
1616
package tech.pantheon.triemap;
1717

18-
import org.junit.jupiter.api.Test;
19-
20-
import static org.junit.jupiter.api.Assertions.*;
18+
import static org.junit.jupiter.api.Assertions.assertEquals;
19+
import static org.junit.jupiter.api.Assertions.assertFalse;
20+
import static org.junit.jupiter.api.Assertions.assertNull;
2121
import static org.junit.jupiter.api.Assertions.assertSame;
22+
import static org.junit.jupiter.api.Assertions.fail;
23+
24+
import org.junit.jupiter.api.Test;
2225

2326
class TestConcurrentMapComputeIfPresent {
2427
private static final int COUNT = 50 * 1000;

0 commit comments

Comments
 (0)