Skip to content

Commit 9cdaebd

Browse files
committed
Fix formatting
1 parent 0b4ca83 commit 9cdaebd

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

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

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
import java.util.Collection;
2121
import java.util.Collections;
22-
import java.util.Comparator;
2322
import java.util.List;
2423
import java.util.Optional;
2524
import 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
}

0 commit comments

Comments
 (0)