File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
java/src/org/openqa/selenium Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 1717
1818package org .openqa .selenium ;
1919
20- import java .util .Collections ;
2120import java .util .Set ;
2221import java .util .stream .Collectors ;
2322import org .jspecify .annotations .NullMarked ;
@@ -178,7 +177,8 @@ default void unpin(ScriptKey key) {
178177 */
179178 default Set <ScriptKey > getPinnedScripts () {
180179 return UnpinnedScriptKey .getPinnedScripts (this ).stream ()
181- .map (key -> (ScriptKey ) key ).collect (Collectors .toUnmodifiableSet ());
180+ .map (key -> (ScriptKey ) key )
181+ .collect (Collectors .toUnmodifiableSet ());
182182 }
183183
184184 /**
Original file line number Diff line number Diff line change 1717
1818package org .openqa .selenium .logging ;
1919
20- import static java .util .Collections .unmodifiableList ;
21- import static java .util .stream .Collectors .toList ;
2220
2321import java .util .Iterator ;
2422import java .util .List ;
@@ -35,8 +33,7 @@ public class LogEntries implements Iterable<LogEntry> {
3533 private final List <LogEntry > entries ;
3634
3735 public LogEntries (Iterable <LogEntry > entries ) {
38- this .entries =
39- StreamSupport .stream (entries .spliterator (), false ).toList ();
36+ this .entries = StreamSupport .stream (entries .spliterator (), false ).toList ();
4037 }
4138
4239 /**
You can’t perform that action at this time.
0 commit comments