Skip to content

Commit 5ea71b4

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 1357446 commit 5ea71b4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

libs/entitlement/src/main/java/org/elasticsearch/entitlement/bootstrap/EntitlementBootstrap.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,13 @@ private static void selfTest() {
157157
var start = ProcessBuilder.class.getMethod("start");
158158
start.invoke(pb);
159159
} catch (InvocationTargetException e) {
160-
throw (Exception)e.getCause();
160+
throw (Exception) e.getCause();
161161
}
162162
});
163-
ensureCanCreateTempFile(() -> (Path) Files.class.getMethod("createTempFile", String.class, String.class, FileAttribute[].class)
164-
.invoke(null, null, null, new FileAttribute<?>[0]));
163+
ensureCanCreateTempFile(
164+
() -> (Path) Files.class.getMethod("createTempFile", String.class, String.class, FileAttribute[].class)
165+
.invoke(null, null, null, new FileAttribute<?>[0])
166+
);
165167
}
166168

167169
private static void ensureCannotStartProcess(CheckedConsumer<ProcessBuilder, ?> startProcess) {

0 commit comments

Comments
 (0)