Changeset 2286 in josm


Ignore:
Timestamp:
2009-10-14T17:48:28+02:00 (15 years ago)
Author:
stoecker
Message:

applied #367 - patch by Dave Hansen - NPE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/QuadBuckets.java

    r2263 r2286  
    887887    {
    888888        QBLevel bucket = root.find_exact(n);
    889         if (!bucket.isLeaf())
    890             abort("found branch where leaf expected");
     889        if (bucket == null)
     890            return false;
    891891        boolean ret = bucket.remove_content(n);
    892892        return ret;
Note: See TracChangeset for help on using the changeset viewer.