Skip to content

Commit 23e13a9

Browse files
committed
[java] Run the format script
1 parent b498cbb commit 23e13a9

File tree

7 files changed

+23
-32
lines changed

7 files changed

+23
-32
lines changed

java/src/org/openqa/selenium/devtools/v114/v114CdpInfo.java

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

2020
import com.google.auto.service.AutoService;
21-
2221
import org.openqa.selenium.devtools.CdpInfo;
2322

2423
@AutoService(CdpInfo.class)

java/src/org/openqa/selenium/devtools/v114/v114Events.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
package org.openqa.selenium.devtools.v114;
1919

2020
import com.google.common.collect.ImmutableList;
21-
21+
import java.time.Instant;
22+
import java.util.List;
23+
import java.util.Optional;
2224
import org.openqa.selenium.JavascriptException;
2325
import org.openqa.selenium.devtools.Command;
2426
import org.openqa.selenium.devtools.DevTools;
@@ -32,10 +34,6 @@
3234
import org.openqa.selenium.devtools.v114.runtime.model.ExceptionThrown;
3335
import org.openqa.selenium.devtools.v114.runtime.model.StackTrace;
3436

35-
import java.time.Instant;
36-
import java.util.List;
37-
import java.util.Optional;
38-
3937
public class v114Events extends Events<ConsoleAPICalled, ExceptionThrown> {
4038

4139
public v114Events(DevTools devtools) {

java/src/org/openqa/selenium/devtools/v114/v114Javascript.java

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

1818
package org.openqa.selenium.devtools.v114;
1919

20+
import java.util.Optional;
2021
import org.openqa.selenium.devtools.Command;
2122
import org.openqa.selenium.devtools.DevTools;
2223
import org.openqa.selenium.devtools.Event;
@@ -26,8 +27,6 @@
2627
import org.openqa.selenium.devtools.v114.runtime.Runtime;
2728
import org.openqa.selenium.devtools.v114.runtime.model.BindingCalled;
2829

29-
import java.util.Optional;
30-
3130
public class v114Javascript extends Javascript<ScriptIdentifier, BindingCalled> {
3231

3332
public v114Javascript(DevTools devtools) {

java/src/org/openqa/selenium/devtools/v114/v114Log.java

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

1818
package org.openqa.selenium.devtools.v114;
1919

20+
import java.util.function.Function;
21+
import java.util.logging.Level;
2022
import org.openqa.selenium.devtools.Command;
2123
import org.openqa.selenium.devtools.ConverterFunctions;
2224
import org.openqa.selenium.devtools.Event;
@@ -25,9 +27,6 @@
2527
import org.openqa.selenium.devtools.v114.runtime.model.Timestamp;
2628
import org.openqa.selenium.json.JsonInput;
2729

28-
import java.util.function.Function;
29-
import java.util.logging.Level;
30-
3130
public class v114Log implements org.openqa.selenium.devtools.idealized.log.Log {
3231

3332
@Override

java/src/org/openqa/selenium/devtools/v114/v114Network.java

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,20 @@
1717

1818
package org.openqa.selenium.devtools.v114;
1919

20+
import static java.net.HttpURLConnection.HTTP_OK;
21+
2022
import com.google.common.collect.ImmutableList;
2123
import com.google.common.io.ByteStreams;
22-
24+
import java.io.ByteArrayOutputStream;
25+
import java.io.IOException;
26+
import java.io.InputStream;
27+
import java.util.AbstractMap;
28+
import java.util.Base64;
29+
import java.util.LinkedList;
30+
import java.util.List;
31+
import java.util.Map;
32+
import java.util.Optional;
33+
import java.util.logging.Logger;
2334
import org.openqa.selenium.UsernameAndPassword;
2435
import org.openqa.selenium.devtools.Command;
2536
import org.openqa.selenium.devtools.DevTools;
@@ -38,19 +49,6 @@
3849
import org.openqa.selenium.remote.http.HttpRequest;
3950
import org.openqa.selenium.remote.http.HttpResponse;
4051

41-
import java.io.ByteArrayOutputStream;
42-
import java.io.IOException;
43-
import java.io.InputStream;
44-
import java.util.AbstractMap;
45-
import java.util.Base64;
46-
import java.util.LinkedList;
47-
import java.util.List;
48-
import java.util.Map;
49-
import java.util.Optional;
50-
import java.util.logging.Logger;
51-
52-
import static java.net.HttpURLConnection.HTTP_OK;
53-
5452
public class v114Network extends Network<AuthRequired, RequestPaused> {
5553

5654
private static final Logger LOG = Logger.getLogger(v114Network.class.getName());

java/src/org/openqa/selenium/devtools/v114/v114Target.java

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

2020
import com.google.common.collect.ImmutableList;
2121
import com.google.common.collect.ImmutableMap;
22-
22+
import java.util.List;
23+
import java.util.Optional;
24+
import java.util.function.Function;
2325
import org.openqa.selenium.devtools.Command;
2426
import org.openqa.selenium.devtools.ConverterFunctions;
2527
import org.openqa.selenium.devtools.Event;
@@ -31,10 +33,6 @@
3133
import org.openqa.selenium.json.JsonInput;
3234
import org.openqa.selenium.json.TypeToken;
3335

34-
import java.util.List;
35-
import java.util.Optional;
36-
import java.util.function.Function;
37-
3836
public class v114Target implements org.openqa.selenium.devtools.idealized.target.Target {
3937

4038
@Override

java/src/org/openqa/selenium/support/pagefactory/AjaxElementLocator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ protected long sleepFor() {
118118

119119
/**
120120
* By default, elements are considered "found" if they are in the DOM. Override this method in
121-
* order to change whether you consider the element loaded. For example, perhaps you need
122-
* the element to be displayed:
121+
* order to change whether you consider the element loaded. For example, perhaps you need the
122+
* element to be displayed:
123123
*
124124
* <pre>{@code
125125
* return element.isDisplayed();

0 commit comments

Comments
 (0)