Changeset 8231 in josm


Ignore:
Timestamp:
2015-04-19T09:26:12+02:00 (5 years ago)
Author:
simon04
Message:

fix #11351 - Search/ways:: make implementation comply with description (… nodes with specified number of referring ways …)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java

    r8220 r8231  
    954954        @Override
    955955        protected Long getNumber(OsmPrimitive osm) {
    956             if (osm instanceof Way) {
     956            if (osm instanceof Node) {
    957957                return (long) Utils.filteredCollection(osm.getReferrers(), Way.class).size();
    958958            } else if (osm instanceof Relation) {
Note: See TracChangeset for help on using the changeset viewer.