mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
TreeSet collapses different breakpoint groups with equal priorities.
This commit is contained in:
+2
-1
@@ -60,7 +60,8 @@ public class BreakpointMasterDetailPopupBuilder {
|
||||
private Set<XBreakpointGroupingRule> myRulesEnabled = new TreeSet<XBreakpointGroupingRule>(new Comparator<XBreakpointGroupingRule>() {
|
||||
@Override
|
||||
public int compare(XBreakpointGroupingRule o1, XBreakpointGroupingRule o2) {
|
||||
return o2.getPriority() - o1.getPriority();
|
||||
final int res = o2.getPriority() - o1.getPriority();
|
||||
return res != 0 ? res : (o1.getId().compareTo(o2.getId()));
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user