Added whitespaces for readability

This commit is contained in:
Alexander Bielen
2018-10-26 19:38:28 +02:00
parent 893f384d33
commit b427c4b629
@@ -64,13 +64,16 @@ public final class Time {
*/ */
public static boolean sleep(SleepCondition conn, int timeout, int minimumTimeout) { public static boolean sleep(SleepCondition conn, int timeout, int minimumTimeout) {
long start = System.currentTimeMillis(); long start = System.currentTimeMillis();
if(!sleep(conn, timeout)) { if(!sleep(conn, timeout)) {
return false; return false;
} }
long t; long t;
if((t = System.currentTimeMillis() - start) < minimumTimeout) { if((t = System.currentTimeMillis() - start) < minimumTimeout) {
Time.sleep((int)(minimumTimeout - t)); Time.sleep((int)(minimumTimeout - t));
} }
return true; return true;
} }