Skip to content

Commit

Permalink
Do not use * imports
Browse files Browse the repository at this point in the history
This is failing checkstyle, make sure we use individual static imports.

Signed-off-by: Robert Varga <[email protected]>
  • Loading branch information
rovarga committed Jun 30, 2024
1 parent 50c2c59 commit b51a980
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
*/
package tech.pantheon.triemap;

import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.*;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertSame;
import static org.junit.jupiter.api.Assertions.fail;

import org.junit.jupiter.api.Test;

class TestConcurrentMapComputeIfAbsent {
private static final int COUNT = 50 * 1000;
Expand Down Expand Up @@ -62,4 +63,4 @@ void testConflictingHash() {
// Check with equivalent key
assertSame(v3, map.computeIfAbsent(k3dup, k -> v3));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@
*/
package tech.pantheon.triemap;

import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.*;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertSame;
import static org.junit.jupiter.api.Assertions.fail;

import org.junit.jupiter.api.Test;

class TestConcurrentMapComputeIfPresent {
private static final int COUNT = 50 * 1000;
Expand Down

0 comments on commit b51a980

Please sign in to comment.