Skip to content

Commit 95cb8ca

Browse files
committed
applying format.sh
1 parent 24e5bf0 commit 95cb8ca

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

java/src/org/openqa/selenium/JavascriptExecutor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
package org.openqa.selenium;
1919

20-
import java.util.Collections;
2120
import java.util.Set;
2221
import java.util.stream.Collectors;
2322
import 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
/**

java/src/org/openqa/selenium/logging/LogEntries.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717

1818
package org.openqa.selenium.logging;
1919

20-
import static java.util.Collections.unmodifiableList;
21-
import static java.util.stream.Collectors.toList;
2220

2321
import java.util.Iterator;
2422
import 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
/**

0 commit comments

Comments
 (0)