Ignore:
Timestamp:
2017-04-30T22:45:11+02:00 (3 years ago)
Author:
Don-vip
Message:

add Node.getParentWays()

File:
1 edited

Legend:

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

    r11893 r12031  
    695695         */
    696696        static boolean unconnected(Environment e) { // NO_UCD (unused code)
    697             return e.osm instanceof Node && OsmPrimitive.getFilteredList(e.osm.getReferrers(), Way.class).isEmpty();
     697            return e.osm instanceof Node && ((Node) e.osm).getParentWays().isEmpty();
    698698        }
    699699
Note: See TracChangeset for help on using the changeset viewer.