Fix how proto id items are sorted

This commit is contained in:
Ben Gruver 2012-12-29 18:44:58 -08:00
parent 0843bbe9c6
commit 8045a499ff

View File

@ -168,7 +168,7 @@ public class ProtoPool {
public int compareTo(@Nonnull Key o) {
int res = getReturnType().compareTo(o.getReturnType());
if (res != 0) return res;
return CollectionUtils.compareAsList(getParameters(), o.getParameters());
return CollectionUtils.compareAsIterable(getParameters(), o.getParameters());
}
}
}