File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed
java/src/org/openqa/selenium/grid Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff line change 1818package org .openqa .selenium .grid .web ;
1919
2020import java .util .Collections ;
21- import java .util .HashSet ;
2221import java .util .LinkedHashSet ;
2322import java .util .Optional ;
2423import java .util .Set ;
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments