diff --git a/java/client/src/org/openqa/selenium/interactions/SendKeysAction.java b/java/client/src/org/openqa/selenium/interactions/SendKeysAction.java index 26c010426d4a2..993392cc5437f 100644 --- a/java/client/src/org/openqa/selenium/interactions/SendKeysAction.java +++ b/java/client/src/org/openqa/selenium/interactions/SendKeysAction.java @@ -24,7 +24,6 @@ import org.openqa.selenium.interactions.internal.Locatable; import java.util.List; -import java.util.Objects; /** * Sending a sequence of keys to an element. diff --git a/java/client/src/org/openqa/selenium/lift/WebDriverTestContext.java b/java/client/src/org/openqa/selenium/lift/WebDriverTestContext.java index e541631d8a54f..185a6fe1f3ef2 100644 --- a/java/client/src/org/openqa/selenium/lift/WebDriverTestContext.java +++ b/java/client/src/org/openqa/selenium/lift/WebDriverTestContext.java @@ -27,7 +27,6 @@ import org.openqa.selenium.lift.find.Finder; import org.openqa.selenium.support.ui.Clock; import org.openqa.selenium.support.ui.ExpectedCondition; -import org.openqa.selenium.support.ui.FluentWait; import org.openqa.selenium.support.ui.Sleeper; import org.openqa.selenium.support.ui.SystemClock; import org.openqa.selenium.support.ui.Wait; diff --git a/java/client/src/org/openqa/selenium/remote/HttpCommandExecutor.java b/java/client/src/org/openqa/selenium/remote/HttpCommandExecutor.java index 9648960d2e1c7..6ce998490c06c 100644 --- a/java/client/src/org/openqa/selenium/remote/HttpCommandExecutor.java +++ b/java/client/src/org/openqa/selenium/remote/HttpCommandExecutor.java @@ -36,8 +36,6 @@ import org.openqa.selenium.remote.http.HttpClient; import org.openqa.selenium.remote.http.HttpRequest; import org.openqa.selenium.remote.http.HttpResponse; -import org.openqa.selenium.remote.internal.ApacheHttpClient; -import org.openqa.selenium.remote.internal.OkHttpClient; import java.io.IOException; import java.net.MalformedURLException; diff --git a/java/client/src/org/openqa/selenium/remote/session/ChromeFilter.java b/java/client/src/org/openqa/selenium/remote/session/ChromeFilter.java index 69f9859d7c297..e8046136958c5 100644 --- a/java/client/src/org/openqa/selenium/remote/session/ChromeFilter.java +++ b/java/client/src/org/openqa/selenium/remote/session/ChromeFilter.java @@ -17,14 +17,9 @@ package org.openqa.selenium.remote.session; -import com.google.common.collect.ImmutableMap; -import com.google.common.collect.ImmutableSortedMap; -import com.google.common.collect.Ordering; - import java.util.Map; import java.util.Objects; import java.util.TreeMap; -import java.util.function.Supplier; import java.util.stream.Collectors; public class ChromeFilter implements CapabilitiesFilter { diff --git a/java/client/src/org/openqa/selenium/support/ui/FluentWait.java b/java/client/src/org/openqa/selenium/support/ui/FluentWait.java index afc0ff579c869..fe237b281499e 100644 --- a/java/client/src/org/openqa/selenium/support/ui/FluentWait.java +++ b/java/client/src/org/openqa/selenium/support/ui/FluentWait.java @@ -28,7 +28,6 @@ import org.openqa.selenium.WebDriverException; import java.time.temporal.ChronoUnit; -import java.time.temporal.TemporalUnit; import java.util.Collection; import java.util.List; import java.util.concurrent.TimeUnit; diff --git a/java/client/src/org/openqa/selenium/support/ui/WebDriverWait.java b/java/client/src/org/openqa/selenium/support/ui/WebDriverWait.java index 431986416d9f5..a87a2f662c500 100644 --- a/java/client/src/org/openqa/selenium/support/ui/WebDriverWait.java +++ b/java/client/src/org/openqa/selenium/support/ui/WebDriverWait.java @@ -25,7 +25,6 @@ import org.openqa.selenium.remote.RemoteWebDriver; import java.time.Duration; -import java.time.temporal.ChronoUnit; /** * A specialization of {@link FluentWait} that uses WebDriver instances.