Skip to content

Commit 88e6571

Browse files
committed
spotless
1 parent a808383 commit 88e6571

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/framework/src/main/java/org/elasticsearch/bootstrap/BootstrapForTesting.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
import org.elasticsearch.jdk.JarHell;
2626
import org.elasticsearch.plugins.PluginDescriptor;
2727
import org.elasticsearch.secure_sm.SecureSM;
28-
import org.elasticsearch.test.ESTestCase;
2928
import org.elasticsearch.test.PrivilegedOperations;
3029
import org.elasticsearch.test.mockito.SecureMockMaker;
3130
import org.junit.Assert;
@@ -361,8 +360,10 @@ public static void ensureInitialized() {}
361360
public static Closeable disableTestSecurityManager() {
362361
final var sm = System.getSecurityManager();
363362
if (sm == null) {
364-
throw new SecurityException("SecurityManager already disabled. This is indicative of a test bug. " +
365-
"Please ensure callers to this method close the returned Closeable.");
363+
throw new SecurityException(
364+
"SecurityManager already disabled. This is indicative of a test bug. "
365+
+ "Please ensure callers to this method close the returned Closeable."
366+
);
366367
}
367368
AccessController.doPrivileged((PrivilegedAction<Void>) () -> {
368369
Security.setSecurityManager(null);

0 commit comments

Comments
 (0)