Changeset 3148 in josm for trunk


Ignore:
Timestamp:
2010-03-20T07:25:04+01:00 (10 years ago)
Author:
jttt
Message:

Fix compilation error

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  
    22package org.openstreetmap.josm.data.osm.event;
    33
    4 import java.util.List;
     4import java.util.Collection;
    55
    66import org.openstreetmap.josm.data.osm.DataSet;
     
    2929     * @return List of modified primitives
    3030     */
    31     public abstract List<? extends OsmPrimitive> getPrimitives();
     31    public abstract Collection<? extends OsmPrimitive> getPrimitives();
    3232
    3333    public DataSet getDataset() {
  • trunk/src/org/openstreetmap/josm/data/osm/event/DataChangedEvent.java

    r3083 r3148  
    22package org.openstreetmap.josm.data.osm.event;
    33
     4import java.util.Collection;
    45import java.util.Collections;
    56import java.util.List;
     
    2728
    2829    @Override
    29     public List<OsmPrimitive> getPrimitives() {
     30    public Collection<OsmPrimitive> getPrimitives() {
    3031        if (dataSet == null)
    3132            return Collections.emptyList();
Note: See TracChangeset for help on using the changeset viewer.