File tree Expand file tree Collapse file tree
branches/travis/src/main/java/com/google/gcloud Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22refs/heads/master: 92537786d4fa0a9fb51215f27d3d0581f4fe3a65
3- refs/heads/travis: 1c271b82a31f004837b0e8c4d77dbe410d2f48ea
3+ refs/heads/travis: a136c5b8ce0f7a4ae3c407b1a1d1a24f89e47639
44refs/heads/gh-pages: 2cc964c1ecc5d653c449b81ee9e924182b221d18
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