Skip to content

Commit

Permalink
[java] Deleting unused private fields
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Nov 18, 2018
1 parent 2ee1a2f commit 0c6ce82
Showing 1 changed file with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@
import static org.openqa.selenium.testing.Driver.MARIONETTE;
import static org.openqa.selenium.testing.Driver.REMOTE;
import static org.openqa.selenium.testing.Driver.SAFARI;
import static org.openqa.selenium.testing.drivers.Browser.chrome;
import static org.openqa.selenium.testing.drivers.Browser.htmlunit;
import static org.openqa.selenium.testing.drivers.Browser.ie;
import static org.openqa.selenium.testing.drivers.Browser.opera;

import com.google.common.collect.ImmutableSet;

import org.junit.runner.Description;
import org.openqa.selenium.testing.Ignore;
Expand All @@ -48,14 +42,11 @@
*/
public class TestIgnorance {

private Set<Browser> alwaysNativeEvents = ImmutableSet.of(chrome, ie, opera);
private Set<Browser> neverNativeEvents = ImmutableSet.of(htmlunit);
private IgnoreComparator ignoreComparator = new IgnoreComparator();
private Set<String> methods = new HashSet<>();
private Set<String> only = new HashSet<>();
private Set<String> ignoreMethods = new HashSet<>();
private Set<String> ignoreClasses = new HashSet<>();
private Browser browser;

public TestIgnorance(Browser browser) {
setBrowser(browser);
Expand Down Expand Up @@ -110,7 +101,7 @@ private boolean isIgnoredDueToEnvironmentVariables(Description method) {
}

public void setBrowser(Browser browser) {
this.browser = checkNotNull(
Browser browser1 = checkNotNull(
browser,
"Browser to use must be set. Do this by setting the 'selenium.browser' system property");
addIgnoresForBrowser(browser, ignoreComparator);
Expand Down

0 comments on commit 0c6ce82

Please sign in to comment.