Ignore:
Timestamp:
2015-05-18T02:52:44+02:00 (5 years ago)
Author:
Don-vip
Message:

remove useless code (Method implemented with an exact copy of its superclass's method)

Location:
trunk/src/org/openstreetmap/josm/command
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/RotateCommand.java

    r8285 r8392  
    66import java.util.Collection;
    77
    8 import javax.swing.Icon;
    9 
    108import org.openstreetmap.josm.data.coor.EastNorth;
    119import org.openstreetmap.josm.data.osm.Node;
    1210import org.openstreetmap.josm.data.osm.OsmPrimitive;
    13 import org.openstreetmap.josm.tools.ImageProvider;
    1411
    1512/**
     
    8986        return trn("Rotate {0} node", "Rotate {0} nodes", nodes.size(), nodes.size());
    9087    }
    91 
    92     @Override
    93     public Icon getDescriptionIcon() {
    94         return ImageProvider.get("data", "node");
    95     }
    9688}
  • trunk/src/org/openstreetmap/josm/command/ScaleCommand.java

    r8285 r8392  
    66import java.util.Collection;
    77
    8 import javax.swing.Icon;
    9 
    108import org.openstreetmap.josm.data.coor.EastNorth;
    119import org.openstreetmap.josm.data.osm.Node;
    1210import org.openstreetmap.josm.data.osm.OsmPrimitive;
    13 import org.openstreetmap.josm.tools.ImageProvider;
    1411
    1512public class ScaleCommand extends TransformNodesCommand {
     
    8178        return trn("Scale {0} node", "Scale {0} nodes", nodes.size(), nodes.size());
    8279    }
    83 
    84     @Override
    85     public Icon getDescriptionIcon() {
    86         return ImageProvider.get("data", "node");
    87     }
    8880}
Note: See TracChangeset for help on using the changeset viewer.