Skip to content

Commit a446b86

Browse files
committed
Revert "java: Extracting a new interface for setFileDetector method, it is required to build dynamic proxies in EventFiringWebDriver-style"
This reverts commit 5f079bc.
1 parent 50fb416 commit a446b86

File tree

4 files changed

+2
-32
lines changed

4 files changed

+2
-32
lines changed

Diff for: java/client/src/org/openqa/selenium/remote/BUCK

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ java_library(name = 'remote',
3636
'CommandCodec.java',
3737
'CommandInfo.java',
3838
'CoordinatesUtils.java',
39-
'DetectsFiles.java',
4039
'DriverCommand.java',
4140
'ErrorCodes.java',
4241
'ErrorHandler.java',

Diff for: java/client/src/org/openqa/selenium/remote/DetectsFiles.java

-29
This file was deleted.

Diff for: java/client/src/org/openqa/selenium/remote/RemoteWebDriver.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
import org.openqa.selenium.Dimension;
3232
import org.openqa.selenium.HasCapabilities;
3333
import org.openqa.selenium.JavascriptExecutor;
34+
import org.openqa.selenium.NoSuchElementException;
3435
import org.openqa.selenium.NoSuchFrameException;
3536
import org.openqa.selenium.OutputType;
3637
import org.openqa.selenium.Platform;
@@ -76,7 +77,7 @@
7677
public class RemoteWebDriver implements WebDriver, JavascriptExecutor,
7778
FindsById, FindsByClassName, FindsByLinkText, FindsByName,
7879
FindsByCssSelector, FindsByTagName, FindsByXPath,
79-
HasInputDevices, HasCapabilities, TakesScreenshot, DetectsFiles {
80+
HasInputDevices, HasCapabilities, TakesScreenshot {
8081

8182
// TODO(dawagner): This static logger should be unified with the per-instance localLogs
8283
private static final Logger logger = Logger.getLogger(RemoteWebDriver.class.getName());

Diff for: java/client/src/org/openqa/selenium/remote/build.desc

-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ java_library(name = "remote",
7272
"CommandCodec.java",
7373
"CommandInfo.java",
7474
"CoordinatesUtils.java",
75-
"DetectsFiles.java",
7675
"ExecuteMethod.java",
7776
"FileDetector.java",
7877
"HttpCommandExecutor.java",

0 commit comments

Comments
 (0)