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
|
@Override
|
||||||
protected Objects.ToStringHelper string() {
|
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);
|
maxPeriodMs).add("maxTries", maxTries);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -264,7 +264,7 @@ public class QueryResultNetworkRecord extends QueryResultRecordType {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ToStringHelper string() {
|
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);
|
isBusy);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue