Skip to content

Commit

Permalink
List.of
Browse files Browse the repository at this point in the history
  • Loading branch information
seregamorph committed Oct 4, 2021
1 parent b56e108 commit 7682169
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
import java.io.UncheckedIOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.stream.Stream;
import org.apache.commons.compress.archivers.zip.UnixStat;
Expand All @@ -17,9 +15,7 @@

public final class QuarkusProjectCompress {

private static final List<String> EXECUTABLES = Collections.unmodifiableList(Arrays.asList(
"gradlew",
"mvnw"));
private static final List<String> EXECUTABLES = List.of("gradlew", "mvnw");

// Visible for testing
static final int DIR_UNIX_MODE = UnixStat.DIR_FLAG | UnixStat.DEFAULT_DIR_PERM;
Expand Down

0 comments on commit 7682169

Please sign in to comment.