> @@ -92,12 +100,12 @@ public boolean shouldRetryRequest(HttpCommand command, 
> HttpResponse response) {
>                       logger.debug("invalidating authentication token - first 
> time for %s", command);
>                       retryCountMap.put(command, 1);
>                       authenticationResponseCache.invalidateAll();
> -                     return true;
> +                     retry = true;
>                    } else {
>                       // This request has failed before
>                       if (count + 1 >= NUM_RETRIES) {

[minor] Would `if (!(count < NUM_RETRIES)) {` be easier to understand?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/369/files#r12774716

Reply via email to