Changeset 7005 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/CommandStackDialog.java
- Timestamp:
- 2014-04-26T17:39:23+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/CommandStackDialog.java
r6726 r7005 226 226 * Simple listener setup to update the button enabled state when the side dialog shows. 227 227 */ 228 Set<IEnabledStateUpdating> showNotifyListener = new LinkedHashSet< IEnabledStateUpdating>();228 Set<IEnabledStateUpdating> showNotifyListener = new LinkedHashSet<>(); 229 229 230 230 private void addShowNotifyListener(IEnabledStateUpdating listener) { … … 304 304 CommandListMutableTreeNode node = new CommandListMutableTreeNode(c, idx); 305 305 if (c.getChildren() != null) { 306 List<PseudoCommand> children = new ArrayList< PseudoCommand>(c.getChildren());306 List<PseudoCommand> children = new ArrayList<>(c.getChildren()); 307 307 for (int i=0; i<children.size(); ++i) { 308 308 node.add(getNodeForCommand(children.get(i), i)); … … 320 320 PseudoCommand c = ((CommandListMutableTreeNode) path.getLastPathComponent()).getCommand(); 321 321 final OsmDataLayer currentLayer = Main.main.getEditLayer(); 322 FilteredCollection<OsmPrimitive> prims = new FilteredCollection< OsmPrimitive>(322 FilteredCollection<OsmPrimitive> prims = new FilteredCollection<>( 323 323 c.getParticipatingPrimitives(), 324 324 new Predicate<OsmPrimitive>(){
Note:
See TracChangeset
for help on using the changeset viewer.