mirror of https://github.com/apache/jclouds.git
Fix infinite loops, found by FindBugs
This commit is contained in:
parent
68b8a99c79
commit
b95f36952d
|
@ -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