Skip to content

Commit df2cd19

Browse files
author
Mykola Mokhnach
committed
More styling issues
1 parent 9fa3b73 commit df2cd19

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/java/io/appium/java_client/AppiumFluentWait.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public static class IterationInfo {
4444

4545
/**
4646
* The class is used to represent information about a single loop iteration in {@link #until(Function)}
47-
* method
47+
* method.
4848
*
4949
* @param number loop iteration number, starts from 1
5050
* @param elapsed the amount of elapsed time since the loop started
@@ -247,8 +247,7 @@ public <V> V until(Function<? super T, V> isTrue) {
247247
// Check the timeout after evaluating the function to ensure conditions
248248
// with a zero timeout can succeed.
249249
if (!getClock().isNowBefore(end)) {
250-
String message = getMessageSupplier() != null ?
251-
getMessageSupplier().get() : null;
250+
String message = getMessageSupplier() != null ? getMessageSupplier().get() : null;
252251

253252
String timeoutMessage = String.format(
254253
"Expected condition failed: %s (tried for %d second(s) with %s interval)",

0 commit comments

Comments
 (0)