Ignore:
Timestamp:
2018-03-25T04:44:43+02:00 (20 months ago)
Author:
Don-vip
Message:

extract KeyValueVisitor from AbstractPrimitive, support Tagged objects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSource.java

    r13507 r13561  
    3030
    3131import org.openstreetmap.josm.data.Version;
    32 import org.openstreetmap.josm.data.osm.AbstractPrimitive;
    33 import org.openstreetmap.josm.data.osm.AbstractPrimitive.KeyValueVisitor;
     32import org.openstreetmap.josm.data.osm.KeyValueVisitor;
    3433import org.openstreetmap.josm.data.osm.Node;
    3534import org.openstreetmap.josm.data.osm.OsmPrimitive;
    3635import org.openstreetmap.josm.data.osm.Relation;
     36import org.openstreetmap.josm.data.osm.Tagged;
    3737import org.openstreetmap.josm.data.osm.Way;
    3838import org.openstreetmap.josm.data.preferences.sources.SourceEntry;
     
    197197
    198198            @Override
    199             public void visitKeyValue(AbstractPrimitive p, String key, String value) {
     199            public void visitKeyValue(Tagged p, String key, String value) {
    200200                MapCSSKeyRules v = index.get(key);
    201201                if (v != null) {
Note: See TracChangeset for help on using the changeset viewer.