Skip to content

Commit

Permalink
Remove unnecessary implements statements. No logical changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Jan 30, 2014
1 parent 4555973 commit a67dcd6
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 25 deletions.
3 changes: 1 addition & 2 deletions java/client/src/org/openqa/selenium/chrome/ChromeDriver.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

import org.openqa.selenium.Capabilities;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.TakesScreenshot;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebDriverException;
import org.openqa.selenium.remote.DriverCommand;
Expand Down Expand Up @@ -95,7 +94,7 @@
*
* @see ChromeDriverService#createDefaultService
*/
public class ChromeDriver extends RemoteWebDriver implements TakesScreenshot {
public class ChromeDriver extends RemoteWebDriver {

/**
* Creates a new ChromeDriver using the {@link ChromeDriverService#createDefaultService default}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,10 @@
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;

import org.openqa.selenium.Beta;
import org.openqa.selenium.Capabilities;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.Platform;
import org.openqa.selenium.Proxy;
import org.openqa.selenium.TakesScreenshot;
import org.openqa.selenium.WebDriverException;
import org.openqa.selenium.browserlaunchers.Proxies;
import org.openqa.selenium.firefox.internal.MarionetteConnection;
Expand All @@ -58,7 +56,6 @@

import java.io.File;
import java.io.IOException;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.TimeUnit;

Expand All @@ -74,7 +71,7 @@
* When the driver starts, it will make a copy of the profile it is using, rather than using that
* profile directly. This allows multiple instances of firefox to be started.
*/
public class FirefoxDriver extends RemoteWebDriver implements TakesScreenshot, Killable {
public class FirefoxDriver extends RemoteWebDriver implements Killable {
public static final String BINARY = "firefox_binary";
public static final String PROFILE = "firefox_profile";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@

package org.openqa.selenium.ie;

import static org.openqa.selenium.remote.CapabilityType.PROXY;

import com.google.common.base.Throwables;

import org.openqa.selenium.Capabilities;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.Platform;
import org.openqa.selenium.TakesScreenshot;
import org.openqa.selenium.WebDriverException;
import org.openqa.selenium.browserlaunchers.WindowsProxyManager;
import org.openqa.selenium.remote.CapabilityType;
Expand All @@ -34,9 +35,7 @@

import java.io.File;

import static org.openqa.selenium.remote.CapabilityType.PROXY;

public class InternetExplorerDriver extends RemoteWebDriver implements TakesScreenshot {
public class InternetExplorerDriver extends RemoteWebDriver {

/**
* Capability that defines whether to ignore the browser zoom level or not.
Expand Down
7 changes: 1 addition & 6 deletions java/client/src/org/openqa/selenium/safari/SafariDriver.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,14 @@

package org.openqa.selenium.safari;

import com.google.common.base.Optional;

import org.json.JSONException;
import org.openqa.selenium.Capabilities;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.TakesScreenshot;
import org.openqa.selenium.WebDriverException;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.remote.DriverCommand;
import org.openqa.selenium.remote.FileDetector;
import org.openqa.selenium.remote.RemoteWebDriver;

import java.io.File;
import java.io.IOException;

/**
Expand All @@ -38,7 +33,7 @@
*
* This driver can be configured using the {@link SafariOptions} class.
*/
public class SafariDriver extends RemoteWebDriver implements TakesScreenshot {
public class SafariDriver extends RemoteWebDriver {

/**
* Initializes a new SafariDriver} class with default {@link SafariOptions}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,22 @@

package org.openqa.selenium.testing.drivers;

import java.net.MalformedURLException;
import java.net.URL;
import com.google.common.base.Preconditions;
import com.google.common.base.Strings;
import com.google.common.base.Throwables;

import org.openqa.selenium.Capabilities;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.Platform;
import org.openqa.selenium.TakesScreenshot;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.remote.DriverCommand;
import org.openqa.selenium.remote.RemoteWebDriver;

import com.google.common.base.Preconditions;
import com.google.common.base.Strings;
import com.google.common.base.Throwables;
import java.net.MalformedURLException;
import java.net.URL;

public class SauceDriver extends RemoteWebDriver implements TakesScreenshot {
public class SauceDriver extends RemoteWebDriver {

private static final String SAUCE_JOB_NAME_ENV_NAME = "SAUCE_JOB_NAME";
private static final String SELENIUM_VERSION_ENV_NAME = "SAUCE_SELENIUM_VERSION";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

import org.openqa.selenium.Capabilities;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.TakesScreenshot;
import org.openqa.selenium.chrome.ChromeDriverService;
import org.openqa.selenium.chrome.ChromeOptions;
import org.openqa.selenium.remote.DesiredCapabilities;
Expand All @@ -37,7 +36,7 @@
* entire test suite. We do not use {@link org.openqa.selenium.chrome.ChromeDriver} since that starts and stops the service
* with each instance (and that is too expensive for our purposes).
*/
public class TestChromeDriver extends RemoteWebDriver implements TakesScreenshot {
public class TestChromeDriver extends RemoteWebDriver {
private static ChromeDriverService service;

public TestChromeDriver() {
Expand Down

0 comments on commit a67dcd6

Please sign in to comment.