Skip to content

Commit

Permalink
Remove junit dependency from SlowLoadableComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Aug 30, 2017
1 parent 35f5909 commit aa232de
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion java/client/src/org/openqa/selenium/support/ui/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ java_library(name = 'components',
deps = [
':clock',
'//java/client/src/org/openqa/selenium:selenium',
'//third_party/java/junit:junit',
],
visibility = ['PUBLIC'],
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
package org.openqa.selenium.support.ui;

import static java.util.concurrent.TimeUnit.SECONDS;
import static org.junit.Assert.fail;


/**
Expand Down Expand Up @@ -91,7 +90,7 @@ private void waitFor() {
try {
Thread.sleep(sleepFor());
} catch (InterruptedException e) {
fail(e.getMessage());
throw new AssertionError(e);
}
}

Expand Down

0 comments on commit aa232de

Please sign in to comment.