142143144145146147148149150151152
if (actions.length == 0) { return 0; } Arrays.sort(actions, new ActionPluginMenuComparator()); boolean separatorPending = false; int count = 0; for (int i = 0; i < actions.length; i++) { ActionPlugin actionPlugin = actions[i];
148149150151152153154155156157158
if (actions.length == 0) { return 0; } Arrays.sort(actions, new ActionPluginMenuComparator()); boolean separatorPending = false; int count = 0; for (int i = 0; i < actions.length; i++) { final ActionPlugin actionPlugin = actions[i];