Ignore:
Timestamp:
2017-09-09T23:32:37+02:00 (21 months ago)
Author:
bastiK
Message:

replace abstract class AbstractVisitor by interface OsmPrimitiveVisitor; deprecate Visitor

  • data.osm.visitor.Visitor awkwardly mixes OsmPrimitive types and Changeset class; this may have been used in the past, but is no longer needed; AbstractVisitor should have been a super-interface of Visitor in the first place
  • hopefully, this is binary compatible and plugins can be updated gracefully
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserModel.java

    r12743 r12809  
    3535import org.openstreetmap.josm.data.osm.history.HistoryRelation;
    3636import org.openstreetmap.josm.data.osm.history.HistoryWay;
    37 import org.openstreetmap.josm.data.osm.visitor.AbstractVisitor;
     37import org.openstreetmap.josm.data.osm.visitor.OsmPrimitiveVisitor;
    3838import org.openstreetmap.josm.gui.MainApplication;
    3939import org.openstreetmap.josm.gui.layer.Layer;
     
    645645     *
    646646     */
    647     static class HistoryPrimitiveBuilder extends AbstractVisitor {
     647    static class HistoryPrimitiveBuilder implements OsmPrimitiveVisitor {
    648648        private HistoryOsmPrimitive clone;
    649649
Note: See TracChangeset for help on using the changeset viewer.