mirror of https://github.com/apache/jclouds.git
Fix a small softlayer bug that triggers a guava 19 rc bugcheck.
This commit is contained in:
parent
5d30f859aa
commit
0d243b0a39
|
@ -272,7 +272,7 @@ public class SoftLayerComputeServiceAdapter implements
|
|||
.compare(getBootableDeviceType(h1), getBootableDeviceType(h2));
|
||||
if (!volumes1.isEmpty() && !volumes2.isEmpty() && volumes1.size() == volumes2.size()) {
|
||||
for (int i = 0; i < volumes1.size(); i++) {
|
||||
comparisonChain.compare(volumes1.get(i).getType(), volumes2.get(i).getType());
|
||||
comparisonChain = comparisonChain.compare(volumes1.get(i).getType(), volumes2.get(i).getType());
|
||||
}
|
||||
}
|
||||
return comparisonChain.result();
|
||||
|
|
Loading…
Reference in New Issue