Skip to content

Commit 6c70eb7

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 952d2b4 commit 6c70eb7

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

libs/entitlement/qa/src/javaRestTest/java/org/elasticsearch/entitlement/qa/EntitlementsTestRule.java

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,7 @@ class EntitlementsTestRule implements TestRule {
3333

3434
// entitlements that test methods may use, see EntitledActions
3535
private static final PolicyBuilder ENTITLED_POLICY = (builder, tempDir) -> {
36-
builder.value(
37-
Map.of(
38-
"write_system_properties",
39-
Map.of("properties", List.of("org.elasticsearch.entitlement.qa.selfTest"))
40-
)
41-
);
36+
builder.value(Map.of("write_system_properties", Map.of("properties", List.of("org.elasticsearch.entitlement.qa.selfTest"))));
4237
builder.value(Map.of("file", Map.of("path", tempDir.resolve("read_dir"), "mode", "read")));
4338
builder.value(Map.of("file", Map.of("path", tempDir.resolve("read_write_dir"), "mode", "read_write")));
4439
builder.value(Map.of("file", Map.of("path", tempDir.resolve("read_file"), "mode", "read")));
@@ -67,9 +62,7 @@ protected void before() throws Throwable {
6762
}
6863
};
6964
cluster = ElasticsearchCluster.local()
70-
.module("entitled", spec ->
71-
buildEntitlements(spec, "org.elasticsearch.entitlement.qa.entitled", ENTITLED_POLICY)
72-
)
65+
.module("entitled", spec -> buildEntitlements(spec, "org.elasticsearch.entitlement.qa.entitled", ENTITLED_POLICY))
7366
.module("entitlement-test-plugin", spec -> setupEntitlements(spec, modular, policyBuilder))
7467
.systemProperty("es.entitlements.enabled", "true")
7568
.systemProperty("es.entitlements.testdir", () -> testDir.getRoot().getAbsolutePath())

0 commit comments

Comments
 (0)