mirror of https://github.com/apache/jclouds.git
Merge pull request #715 from andrewgaul/findbugs-infinite-loop
Fix infinite loops, found by FindBugs
This commit is contained in:
commit
c8c2d5f175
|
@ -158,7 +158,7 @@ public class RetryingCacheLoaderDecorator<K, V> {
|
|||
|
||||
@Override
|
||||
protected Objects.ToStringHelper string() {
|
||||
return string().add("retryableThrowable", retryableThrowable).add("periodMs", periodMs).add("maxPeriodMs",
|
||||
return Objects.toStringHelper(this).add("retryableThrowable", retryableThrowable).add("periodMs", periodMs).add("maxPeriodMs",
|
||||
maxPeriodMs).add("maxTries", maxTries);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -264,7 +264,7 @@ public class QueryResultNetworkRecord extends QueryResultRecordType {
|
|||
|
||||
@Override
|
||||
public ToStringHelper string() {
|
||||
return string().add("name", name).add("ipScopeId", ipScopeId).add("gateway", gateway).add("netmask", netmask).add("dns1", dns1).add("dns2", dns2).add("dnsSuffix", dnsSuffix).add("isBusy",
|
||||
return Objects.toStringHelper(this).add("name", name).add("ipScopeId", ipScopeId).add("gateway", gateway).add("netmask", netmask).add("dns1", dns1).add("dns2", dns2).add("dnsSuffix", dnsSuffix).add("isBusy",
|
||||
isBusy);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue