Changeset 4894 in josm for trunk/src/org/openstreetmap/josm


Ignore:
Timestamp:
02.02.2012 19:38:41 (4 months ago)
Author:
stoecker
Message:

remove deprecation

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

Legend:

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

    r4461 r4894  
    160160    @Override public Collection<? extends OsmPrimitive> getParticipatingPrimitives() { 
    161161        return cloneMap.keySet(); 
    162     } 
    163  
    164     /** 
    165      * Provide a description that can be presented in a list or tree view. 
    166      * This override will be removed when 
    167      * <code>description()</code> is removed. 
    168      */ 
    169     @Override public Object getDescription() { 
    170         return ((DefaultMutableTreeNode) description()).getUserObject(); 
    171     } 
    172  
    173     /** 
    174      * @deprecated use getDescription() and getChildren() instead 
    175      */ 
    176     @Deprecated 
    177     public MutableTreeNode description() { 
    178         return null; 
    179162    } 
    180163 
  • trunk/src/org/openstreetmap/josm/command/MoveCommand.java

    r4126 r4894  
    135135    } 
    136136 
    137     /** 
    138      * @Deprecated use getParticipatingPrimitives() instead 
    139      */ 
    140     @Deprecated 
    141     public Collection<Node> getMovedNodes() { 
    142         return nodes; 
    143     } 
    144  
    145137    @Override 
    146138    public Collection<Node> getParticipatingPrimitives() { 
Note: See TracChangeset for help on using the changeset viewer.