Ignore:
Timestamp:
2010-07-12T23:20:07+02:00 (14 years ago)
Author:
nakor
Message:

Code cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/undelete/src/org/openstreetmap/josm/plugins/undelete/Undelete.java

    r21126 r22291  
    22// Derived from DownloadPrimitiveAction by Matthias Julius
    33
    4 package Undelete;
     4package org.openstreetmap.josm.plugins.undelete;
    55
    66import java.awt.GridBagConstraints;
     
    88import java.awt.event.ActionEvent;
    99import java.awt.event.KeyEvent;
    10 import java.util.Collection;
    11 import java.util.Enumeration;
    12 import java.util.Hashtable;
    13 import java.util.LinkedList;
    1410import java.util.ArrayList;
    1511import java.util.List;
     
    1814import javax.swing.JLabel;
    1915import javax.swing.JMenuItem;
    20 import javax.swing.JOptionPane;
    2116import javax.swing.JPanel;
    2217import javax.swing.KeyStroke;
     
    2722import org.openstreetmap.josm.actions.JosmAction;
    2823import org.openstreetmap.josm.actions.downloadtasks.DownloadPrimitiveTask;
    29 import org.openstreetmap.josm.command.AddCommand;
    30 import org.openstreetmap.josm.command.Command;
    31 import org.openstreetmap.josm.command.SequenceCommand;
    3224import org.openstreetmap.josm.data.osm.DataSet;
    3325import org.openstreetmap.josm.data.osm.Node;
    3426import org.openstreetmap.josm.data.osm.OsmPrimitive;
    3527import org.openstreetmap.josm.data.osm.OsmPrimitiveType;
    36 import org.openstreetmap.josm.data.osm.Relation;
    37 import org.openstreetmap.josm.data.osm.RelationMember;
    3828import org.openstreetmap.josm.data.osm.SimplePrimitiveId;
    3929import org.openstreetmap.josm.data.osm.User;
     
    6757   
    6858    private class UndeleteAction extends JosmAction {
    69         private LinkedList<Command> cmds = new LinkedList<Command>();
    70 
    71         public UndeleteAction() {
     59        /**
     60                 *
     61                 */
     62                private static final long serialVersionUID = 1L;
     63                public UndeleteAction() {
    7264        super(tr("Undelete object..."), "undelete", tr("Undelete object by id"), Shortcut.registerShortcut("tools:undelete", tr("File: {0}", tr("Undelete object...")),
    7365        KeyEvent.VK_U, Shortcut.GROUP_EDIT, KeyEvent.SHIFT_DOWN_MASK|KeyEvent.ALT_DOWN_MASK), true);
Note: See TracChangeset for help on using the changeset viewer.