Skip to content

Commit 6f52662

Browse files
authored
Pass empty lists instead of nulls to FileAccessTree.of (#129942) (#129959)
1 parent 2a57e4e commit 6f52662

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/entitlement/src/test/java/org/elasticsearch/entitlement/runtime/policy/FileAccessTreeTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ public void testWindowsAbsolutPathAccess() {
461461
)
462462
),
463463
TEST_PATH_LOOKUP,
464-
null,
464+
List.of(),
465465
List.of()
466466
);
467467

@@ -487,7 +487,7 @@ public void testWindowsMixedCaseAccess() {
487487
)
488488
),
489489
TEST_PATH_LOOKUP,
490-
null,
490+
List.of(),
491491
List.of()
492492
);
493493

0 commit comments

Comments
 (0)