Changeset 3148 in josm
- Timestamp:
- 2010-03-20T07:25:04+01:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/osm/event
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/event/AbstractDatasetChangedEvent.java
r3083 r3148 2 2 package org.openstreetmap.josm.data.osm.event; 3 3 4 import java.util. List;4 import java.util.Collection; 5 5 6 6 import org.openstreetmap.josm.data.osm.DataSet; … … 29 29 * @return List of modified primitives 30 30 */ 31 public abstract List<? extends OsmPrimitive> getPrimitives();31 public abstract Collection<? extends OsmPrimitive> getPrimitives(); 32 32 33 33 public DataSet getDataset() { -
trunk/src/org/openstreetmap/josm/data/osm/event/DataChangedEvent.java
r3083 r3148 2 2 package org.openstreetmap.josm.data.osm.event; 3 3 4 import java.util.Collection; 4 5 import java.util.Collections; 5 6 import java.util.List; … … 27 28 28 29 @Override 29 public List<OsmPrimitive> getPrimitives() {30 public Collection<OsmPrimitive> getPrimitives() { 30 31 if (dataSet == null) 31 32 return Collections.emptyList();
Note:
See TracChangeset
for help on using the changeset viewer.