Skip to content

Commit a475dc3

Browse files
committed
Fix build
1 parent 773b6ca commit a475dc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/src/org/openqa/selenium/grid/config/CompoundConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public Optional<List<String>> getAll(String section, String option) {
4848
.filter(Optional::isPresent)
4949
.map(Optional::get)
5050
.flatMap(Collection::stream)
51-
.toList();
51+
.collect(Collectors.toUnmodifiableList());
5252

5353
return values.isEmpty() ? Optional.empty() : Optional.of(values);
5454
}

0 commit comments

Comments
 (0)