Fix a small softlayer bug that triggers a guava 19 rc bugcheck.

This commit is contained in:
Zack Shoylev 2015-07-29 09:47:53 -05:00
parent 5d30f859aa
commit 0d243b0a39
1 changed files with 1 additions and 1 deletions

View File

@ -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();