Skip to content

Commit 178bc1d

Browse files
committed
Refactor EdgeDriverService class documentation and structure
1 parent 22827f9 commit 178bc1d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

java/src/org/openqa/selenium/edge/EdgeDriverService.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@
2929
import java.util.List;
3030
import java.util.Locale;
3131
import java.util.Map;
32+
import org.jspecify.annotations.Nullable;
3233
import org.openqa.selenium.Capabilities;
3334
import org.openqa.selenium.WebDriverException;
3435
import org.openqa.selenium.chromium.ChromiumDriverLogLevel;
3536
import org.openqa.selenium.remote.service.DriverFinder;
3637
import org.openqa.selenium.remote.service.DriverService;
37-
import org.jspecify.annotations.Nullable;
3838

3939
/** Manages the life and death of the MSEdgeDriver */
4040
public class EdgeDriverService extends DriverService {
@@ -322,7 +322,11 @@ protected List<String> createArgs() {
322322

323323
@Override
324324
protected EdgeDriverService createDriverService(
325-
@Nullable File exe, int port, @Nullable Duration timeout, @Nullable List<String> args, @Nullable Map<String, String> environment) {
325+
@Nullable File exe,
326+
int port,
327+
@Nullable Duration timeout,
328+
@Nullable List<String> args,
329+
@Nullable Map<String, String> environment) {
326330
try {
327331
return new EdgeDriverService(exe, port, timeout, args, environment);
328332
} catch (IOException e) {

0 commit comments

Comments
 (0)