Ignore:
Timestamp:
07.03.2010 14:41:05 (2 years ago)
Author:
Gubaer
Message:

Ouch, shouldn't have removed getData(). Fixes the previous commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/UpdateModifiedAction.java

    r3092 r3093  
    77import java.awt.event.KeyEvent; 
    88import java.util.Collection; 
     9import java.util.Collections; 
    910 
    1011import org.openstreetmap.josm.data.osm.OsmPrimitive; 
     
    5152    protected void updateEnabledState(Collection<? extends OsmPrimitive> selection) { 
    5253    } 
     54 
     55    @Override 
     56    public Collection<OsmPrimitive> getData() { 
     57        if (getCurrentDataSet() == null) return Collections.emptyList(); 
     58        return getCurrentDataSet().allModifiedPrimitives(); 
     59    } 
    5360} 
Note: See TracChangeset for help on using the changeset viewer.