Skip to content

Commit f852657

Browse files
committed
server: Deleting deprecated code
1 parent ea98e17 commit f852657

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

Diff for: java/server/src/org/openqa/selenium/server/SeleniumDriverResourceHandler.java

-12
Original file line numberDiff line numberDiff line change
@@ -899,16 +899,4 @@ private void setDomain(String sessionId, String domain) {
899899
public BrowserLauncherFactory getBrowserLauncherFactory() {
900900
return browserLauncherFactory;
901901
}
902-
903-
/**
904-
* This method will soon be removed.
905-
*
906-
* @param browserLauncherFactory To use when creating new browser sessions.
907-
* @deprecated
908-
*/
909-
@Deprecated
910-
public void setBrowserLauncherFactory(
911-
BrowserLauncherFactory browserLauncherFactory) {
912-
this.browserLauncherFactory = browserLauncherFactory;
913-
}
914902
}

Diff for: java/server/src/org/openqa/selenium/server/browserlaunchers/AbstractBrowserLauncher.java

-11
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,6 @@ protected long getTimeout() {
7373
}
7474
}
7575

76-
@Deprecated
77-
protected String getCommandLineFlags() {
78-
String cmdLineFlags = BrowserOptions
79-
.getCommandLineFlags(browserConfigurationOptions);
80-
if (cmdLineFlags != null) {
81-
return cmdLineFlags;
82-
} else {
83-
return "";
84-
}
85-
}
86-
8776
protected String[] getCommandLineFlagsAsArray() {
8877
String cmdLineFlags = BrowserOptions
8978
.getCommandLineFlags(browserConfigurationOptions);

0 commit comments

Comments
 (0)