Skip to content

Commit 0cd818e

Browse files
committed
Fix formatting
1 parent 2a3b3af commit 0cd818e

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

java/src/org/openqa/selenium/grid/sessionqueue/local/LocalNewSessionQueue.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,9 @@ private void timeoutSessions() {
181181
.filter(entry -> isTimedOut(now, entry.getValue()))
182182
.map(Map.Entry::getKey)
183183
.collect(
184-
Collectors.collectingAndThen(
185-
Collectors.toCollection(LinkedHashSet::new),
186-
set -> Collections.unmodifiableSet(new LinkedHashSet<>(set))));
184+
Collectors.collectingAndThen(
185+
Collectors.toCollection(LinkedHashSet::new),
186+
set -> Collections.unmodifiableSet(new LinkedHashSet<>(set))));
187187
} finally {
188188
readLock.unlock();
189189
}

java/src/org/openqa/selenium/grid/web/MergedResource.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
package org.openqa.selenium.grid.web;
1919

2020
import java.util.Collections;
21-
import java.util.HashSet;
2221
import java.util.LinkedHashSet;
2322
import java.util.Optional;
2423
import java.util.Set;

java/src/org/openqa/selenium/grid/web/PathResource.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ public Set<Resource> list() {
9191
.filter(allowedSubpaths)
9292
.map(PathResource::new)
9393
.collect(
94-
Collectors.collectingAndThen(
95-
Collectors.toCollection(LinkedHashSet::new),
96-
set -> Collections.unmodifiableSet(new LinkedHashSet<>(set))));
94+
Collectors.collectingAndThen(
95+
Collectors.toCollection(LinkedHashSet::new),
96+
set -> Collections.unmodifiableSet(new LinkedHashSet<>(set))));
9797
} catch (IOException e) {
9898
throw new UncheckedIOException(e);
9999
}

0 commit comments

Comments
 (0)