File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
java/src/org/openqa/selenium/grid/config Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change 1919
2020import java .util .Collection ;
2121import java .util .Collections ;
22- import java .util .Comparator ;
2322import java .util .List ;
2423import java .util .Optional ;
2524import java .util .Set ;
@@ -60,10 +59,9 @@ public Set<String> getSectionNames() {
6059 return allConfigs .stream ()
6160 .map (Config ::getSectionNames )
6261 .flatMap (Collection ::stream )
63- .collect (Collectors .collectingAndThen (
64- Collectors .toCollection (TreeSet ::new ),
65- Collections ::unmodifiableSortedSet
66- ));
62+ .collect (
63+ Collectors .collectingAndThen (
64+ Collectors .toCollection (TreeSet ::new ), Collections ::unmodifiableSortedSet ));
6765 }
6866
6967 @ Override
@@ -73,9 +71,8 @@ public Set<String> getOptions(String section) {
7371 return allConfigs .stream ()
7472 .map (config -> config .getOptions (section ))
7573 .flatMap (Collection ::stream )
76- .collect (Collectors .collectingAndThen (
77- Collectors .toCollection (TreeSet ::new ),
78- Collections ::unmodifiableSortedSet
79- ));
74+ .collect (
75+ Collectors .collectingAndThen (
76+ Collectors .toCollection (TreeSet ::new ), Collections ::unmodifiableSortedSet ));
8077 }
8178}
You can’t perform that action at this time.
0 commit comments