Changeset 36172 in osm for applications
- Timestamp:
- 2023-10-16T18:46:46+02:00 (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/UndoSelectionAction.java
r35611 r36172 9 9 import java.util.Collection; 10 10 import java.util.LinkedHashSet; 11 import java.util.Li nkedList;11 import java.util.List; 12 12 import java.util.Set; 13 13 … … 22 22 public class UndoSelectionAction extends JosmAction { 23 23 24 /** 25 * Create a new {@link UndoSelectionAction} 26 */ 24 27 public UndoSelectionAction() { 25 28 super(tr("Undo selection"), "undoselection", … … 37 40 DataSet ds = getLayerManager().getActiveDataSet(); 38 41 if (ds != null) { 39 Li nkedList<Collection<? extends OsmPrimitive>> history = ds.getSelectionHistory();42 List<Collection<? extends OsmPrimitive>> history = ds.getSelectionHistory(); 40 43 if (history == null || history.isEmpty()) return; // empty history 41 44 if (lastSel != null) {
Note:
See TracChangeset
for help on using the changeset viewer.