Skip to content

Commit

Permalink
get the rid of Arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
tbenr committed Oct 6, 2021
1 parent 58fef1c commit ecaffdf
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import static org.assertj.core.api.Assertions.assertThat;

import com.google.common.collect.ImmutableMap;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import org.apache.logging.log4j.LogManager;
Expand Down Expand Up @@ -59,7 +58,7 @@ public class ForkChoiceTestExecutor implements TestExecutor {
private List<?> testsToSkip;

public ForkChoiceTestExecutor(String... testsToSkip) {
this.testsToSkip = Arrays.asList(testsToSkip);
this.testsToSkip = List.of(testsToSkip);
}

@Override
Expand Down

0 comments on commit ecaffdf

Please sign in to comment.