Skip to content

Commit 4f8d1f3

Browse files
committed
---
yaml --- r: 589 b: refs/heads/travis c: a136c5b h: refs/heads/master i: 587: 5db5cf0 v: v3
1 parent 42fa896 commit 4f8d1f3

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
refs/heads/master: 92537786d4fa0a9fb51215f27d3d0581f4fe3a65
3-
refs/heads/travis: 1c271b82a31f004837b0e8c4d77dbe410d2f48ea
3+
refs/heads/travis: a136c5b8ce0f7a4ae3c407b1a1d1a24f89e47639
44
refs/heads/gh-pages: 2cc964c1ecc5d653c449b81ee9e924182b221d18

branches/travis/src/main/java/com/google/gcloud/RetryHelper.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
package com.google.gcloud;
22

3+
import static com.google.common.base.Preconditions.checkNotNull;
4+
import static java.lang.Math.*;
5+
import static java.util.concurrent.TimeUnit.MILLISECONDS;
6+
37
import com.google.common.annotations.VisibleForTesting;
48
import com.google.common.base.MoreObjects;
59
import com.google.common.base.MoreObjects.ToStringHelper;
@@ -10,10 +14,6 @@
1014
import java.util.concurrent.Callable;
1115
import java.util.logging.Logger;
1216

13-
import static com.google.common.base.Preconditions.checkNotNull;
14-
import static java.lang.Math.*;
15-
import static java.util.concurrent.TimeUnit.MILLISECONDS;
16-
1717
/**
1818
* Utility class for retrying operations.
1919
* For more details about the parameters, see {@link RetryParams}.
@@ -157,7 +157,7 @@ private V doRetry() throws RetryHelperException {
157157
Exception exception;
158158
try {
159159
V value = callable.call();
160-
if (attemptNumber > 1) {
160+
if (attemptNumber > 1) {
161161
log.fine(this + ": attempt #" + attemptNumber + " succeeded");
162162
}
163163
return value;

0 commit comments

Comments
 (0)