Skip to content

Commit 2afd275

Browse files
asashourshs96c
authored andcommitted
No logical changes: Fix warnings and remove unused imports
- Fix warning of varargs null calling - Remove unused imports Signed-off-by: Simon Stewart <[email protected]>
1 parent 1b615a9 commit 2afd275

File tree

6 files changed

+1
-8
lines changed

6 files changed

+1
-8
lines changed

java/client/test/org/openqa/selenium/ClickTest.java

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
import org.openqa.selenium.testing.Ignore;
4242
import org.openqa.selenium.testing.JUnit4TestBase;
4343
import org.openqa.selenium.testing.NoDriverAfterTest;
44-
import org.openqa.selenium.testing.NotYetImplemented;
4544
import org.openqa.selenium.testing.SwitchToTopAfterTest;
4645

4746
import java.util.Set;

java/client/test/org/openqa/selenium/ElementAttributeTest.java

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535

3636
import org.junit.Test;
3737
import org.openqa.selenium.support.ui.ExpectedConditions;
38-
import org.openqa.selenium.testing.Ignore;
3938
import org.openqa.selenium.testing.JUnit4TestBase;
4039
import org.openqa.selenium.testing.NotYetImplemented;
4140
import org.openqa.selenium.testing.TestUtilities;

java/client/test/org/openqa/selenium/JavascriptEnabledDriverTest.java

-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
import org.openqa.selenium.testing.Ignore;
4040
import org.openqa.selenium.testing.JUnit4TestBase;
4141
import org.openqa.selenium.testing.NeedsFreshDriver;
42-
import org.openqa.selenium.testing.NotYetImplemented;
4342

4443
public class JavascriptEnabledDriverTest extends JUnit4TestBase {
4544

java/client/test/org/openqa/selenium/SessionHandlingTest.java

-3
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,10 @@
2626
import static org.openqa.selenium.testing.TestUtilities.catchThrowable;
2727

2828
import org.junit.Test;
29-
import org.junit.runner.RunWith;
3029
import org.openqa.selenium.testing.Ignore;
3130
import org.openqa.selenium.testing.JUnit4TestBase;
3231
import org.openqa.selenium.testing.NoDriverAfterTest;
3332
import org.openqa.selenium.testing.NotYetImplemented;
34-
import org.openqa.selenium.testing.SeleniumTestRunner;
35-
import org.openqa.selenium.testing.drivers.WebDriverBuilder;
3633

3734
public class SessionHandlingTest extends JUnit4TestBase {
3835

java/client/test/org/openqa/selenium/SvgDocumentTest.java

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
import org.junit.Test;
3030
import org.openqa.selenium.testing.Ignore;
3131
import org.openqa.selenium.testing.JUnit4TestBase;
32-
import org.openqa.selenium.testing.NotYetImplemented;
3332

3433
@Ignore(value = SAFARI, reason = "SafariDriver cannot manipulate SVG documents")
3534
public class SvgDocumentTest extends JUnit4TestBase {

java/client/test/org/openqa/selenium/TypingTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ public void testShouldBeAbleToTypeOnANumberInputField() {
621621
public void testShouldThrowIllegalArgumentException() {
622622
driver.get(pages.formPage);
623623
WebElement email = driver.findElement(By.id("age"));
624-
email.sendKeys(null);
624+
email.sendKeys((CharSequence[]) null);
625625
}
626626

627627
@Test

0 commit comments

Comments
 (0)