Sort by sumVL after n, for lower violation counts.

This commit is contained in:
asofold 2014-07-29 22:56:35 +02:00
parent b498f993dd
commit 6b71692a40

View File

@ -187,7 +187,7 @@ public class TopCommand extends BaseCommand{
Comparator<VLView> comparator = VLView.parseMixedComparator(args, startIndex);
if (comparator == null) {
// TODO: Default comparator ?
comparator = new FCFSComparator<ViolationHistory.VLView>(Arrays.asList(VLView.CmpnVL), true);
comparator = new FCFSComparator<VLView>(Arrays.asList(VLView.CmpnVL, VLView.CmpSumVL), true);
}
// Run a worker task.