Skip to content

Commit

Permalink
[java] remove inaccessible protected code
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Dec 10, 2022
1 parent 7804921 commit b6e3df6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion java/src/org/openqa/selenium/firefox/FirefoxDriver.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ public class FirefoxDriver extends RemoteWebDriver
private final HasContext context;
private final Optional<URI> cdpUri;
private final Optional<URI> biDiUri;
protected FirefoxBinary binary;
private Connection connection;
private DevTools devTools;
private BiDi biDi;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,5 @@ public FirefoxDriverService(

public static abstract class Builder<DS extends FirefoxDriverService, B extends FirefoxDriverService.Builder<?, ?>>
extends DriverService.Builder<DS, B> {

protected abstract Builder withOptions(FirefoxOptions options);
}
}
6 changes: 0 additions & 6 deletions java/src/org/openqa/selenium/firefox/GeckoDriverService.java
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,6 @@ public Builder usingFirefoxBinary(FirefoxBinary firefoxBinary) {
return this;
}

@Override
protected FirefoxDriverService.Builder withOptions(FirefoxOptions options) {
usingFirefoxBinary(options.getBinary());
return this;
}

@Override
protected File findDefaultExecutable() {
return findExecutable(
Expand Down

0 comments on commit b6e3df6

Please sign in to comment.