Skip to content

Commit

Permalink
Spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-vieira committed Nov 13, 2024
1 parent c6f250a commit 783e193
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeoutException;
import java.util.function.Predicate;
import java.util.regex.Pattern;
import java.util.stream.Collectors;
import java.util.stream.Stream;
Expand Down Expand Up @@ -758,13 +757,7 @@ private Map<String, String> getEnvironmentVariables() {

String heapSize = System.getProperty("tests.heap.size", "512m");
List<String> serverOpts = List.of("-Xms" + heapSize, "-Xmx" + heapSize, debugArgs, featureFlagProperties);
List<String> commonOpts = List.of(
"-ea",
"-esa",
System.getProperty("tests.jvm.argline", ""),
systemProperties,
jvmArgs
);
List<String> commonOpts = List.of("-ea", "-esa", System.getProperty("tests.jvm.argline", ""), systemProperties, jvmArgs);

String esJavaOpts = Stream.concat(serverOpts.stream(), commonOpts.stream())
.filter(not(String::isEmpty))
Expand Down

0 comments on commit 783e193

Please sign in to comment.