Skip to content

Commit 81c81f1

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 5e431e2 commit 81c81f1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

server/src/main/java/org/elasticsearch/bootstrap/Elasticsearch.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
import org.elasticsearch.index.IndexVersion;
4343
import org.elasticsearch.index.codec.vectors.reflect.OffHeapReflectionUtils;
4444
import org.elasticsearch.jdk.JarHell;
45-
import org.elasticsearch.jdk.RuntimeVersionFeature;
4645
import org.elasticsearch.monitor.jvm.HotThreads;
4746
import org.elasticsearch.monitor.jvm.JvmInfo;
4847
import org.elasticsearch.monitor.os.OsProbe;
@@ -63,7 +62,6 @@
6362
import java.lang.reflect.InvocationTargetException;
6463
import java.nio.file.Files;
6564
import java.nio.file.Path;
66-
import java.security.Permission;
6765
import java.security.Security;
6866
import java.util.ArrayList;
6967
import java.util.HashMap;
@@ -78,7 +76,6 @@
7876
import java.util.stream.Collectors;
7977
import java.util.stream.Stream;
8078

81-
import static org.elasticsearch.bootstrap.BootstrapSettings.SECURITY_FILTER_BAD_DEFAULTS_SETTING;
8279
import static org.elasticsearch.nativeaccess.WindowsFunctions.ConsoleCtrlHandler.CTRL_CLOSE_EVENT;
8380

8481
/**
@@ -236,8 +233,7 @@ private static void initPhase2(Bootstrap bootstrap) throws IOException {
236233
var pluginData = Stream.concat(
237234
modulesBundles.stream()
238235
.map(bundle -> new PolicyUtils.PluginData(bundle.getDir(), bundle.pluginDescriptor().isModular(), false)),
239-
pluginsBundles.stream()
240-
.map(bundle -> new PolicyUtils.PluginData(bundle.getDir(), bundle.pluginDescriptor().isModular(), true))
236+
pluginsBundles.stream().map(bundle -> new PolicyUtils.PluginData(bundle.getDir(), bundle.pluginDescriptor().isModular(), true))
241237
).toList();
242238

243239
var pluginPolicyPatches = collectPluginPolicyPatches(modulesBundles, pluginsBundles, logger);

0 commit comments

Comments
 (0)