Changes between Initial Version and Version 1 of Ticket #21730, comment 12
- Timestamp:
- 2022-01-04T11:23:05+01:00 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21730, comment 12
initial v1 3 3 #!java 4 4 for (Map.Entry<String, Action> a : regactions.entrySet()) { 5 if (actions InMenu.get(a.getKey()) == null) {5 if (actions.get(a.getKey()) == null) { 6 6 rootActionsNode.add(new DefaultMutableTreeNode(a.getValue())); 7 7 } 8 8 } 9 9 }}} 10 With my changes the `actions InMenu.get(a.getKey()) == null` was never true and thus only actions which appear in a menu were added. I've renamed `actions` to `actionsInMenu` to make that clearer and now thefieldis cleared first in `loadActions()`.10 With my changes the `actions.get(a.getKey()) == null` was never true and thus only actions which appear in a menu were added. I've renamed `actions` to `actionsInMenu` to make that clearer and now the map is cleared first in `loadActions()`.


