Ignore:
Timestamp:
2018-04-23T21:34:25+02:00 (21 months ago)
Author:
Don-vip
Message:

move a few methods from OsmPrimitive to IPrimitive

File:
1 edited

Legend:

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

    r13633 r13664  
    3333import org.openstreetmap.josm.data.osm.Node;
    3434import org.openstreetmap.josm.data.osm.OsmPrimitive;
     35import org.openstreetmap.josm.data.osm.OsmUtils;
    3536import org.openstreetmap.josm.data.osm.Relation;
    3637import org.openstreetmap.josm.data.osm.Tagged;
     
    641642            matchingRuleIndex = nodeRules;
    642643        } else if (osm instanceof Way) {
    643             if (osm.isKeyFalse("area")) {
     644            if (OsmUtils.isFalse(osm.get("area"))) {
    644645                matchingRuleIndex = wayNoAreaRules;
    645646            } else {
Note: See TracChangeset for help on using the changeset viewer.