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 569c07b982
commit f2bc5ee6e7
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();