Skip to content

Commit

Permalink
[java] Deleting unused private methods
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Oct 1, 2019
1 parent e349318 commit 19d863d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions java/client/src/org/openqa/selenium/lift/WebDriverTestContext.java
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,4 @@ protected RuntimeException timeoutException(String message, Throwable lastExcept
};
wait.until(elementsDisplayedPredicate);
}

private static long millisToSeconds(final long timeoutMillis) {
return ceiling(((double) timeoutMillis) / 1000);
}

private static long ceiling(final double value) {
final long asLong = (long) value;
final int additional = value - asLong > 0 ? 1 : 0;
return asLong + additional;
}

}

0 comments on commit 19d863d

Please sign in to comment.