File tree Expand file tree Collapse file tree
src/main/java/com/google/gcloud Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package 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+
37import com .google .common .annotations .VisibleForTesting ;
48import com .google .common .base .MoreObjects ;
59import com .google .common .base .MoreObjects .ToStringHelper ;
1014import java .util .concurrent .Callable ;
1115import 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 ;
You can’t perform that action at this time.
0 commit comments