Skip to content

Commit ef5561a

Browse files
committed
Add JSpecify annotations for nullable types in InternetExplorerDriver and DriverService
1 parent 854f65b commit ef5561a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

java/src/org/openqa/selenium/ie/InternetExplorerDriver.java

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

1818
package org.openqa.selenium.ie;
1919

20+
import org.jspecify.annotations.Nullable;
2021
import org.openqa.selenium.Beta;
2122
import org.openqa.selenium.Capabilities;
2223
import org.openqa.selenium.Platform;
@@ -27,7 +28,6 @@
2728
import org.openqa.selenium.remote.http.ClientConfig;
2829
import org.openqa.selenium.remote.service.DriverCommandExecutor;
2930
import org.openqa.selenium.remote.service.DriverFinder;
30-
import org.jspecify.annotations.Nullable;
3131

3232
public class InternetExplorerDriver extends RemoteWebDriver {
3333

java/src/org/openqa/selenium/remote/service/DriverService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
import java.util.concurrent.TimeoutException;
4242
import java.util.concurrent.locks.ReentrantLock;
4343
import java.util.logging.Logger;
44+
import org.jspecify.annotations.Nullable;
4445
import org.openqa.selenium.Beta;
4546
import org.openqa.selenium.Capabilities;
4647
import org.openqa.selenium.ImmutableCapabilities;
@@ -49,7 +50,6 @@
4950
import org.openqa.selenium.net.PortProber;
5051
import org.openqa.selenium.net.UrlChecker;
5152
import org.openqa.selenium.os.ExternalProcess;
52-
import org.jspecify.annotations.Nullable;
5353

5454
/**
5555
* Manages the life and death of a native executable driver server. It is expected that the driver

0 commit comments

Comments
 (0)