Changeset 8993 in josm


Ignore:
Timestamp:
2015-11-05T03:05:19+01:00 (4 years ago)
Author:
Don-vip
Message:

fix #12060 - NPE

Location:
trunk
Files:
1 added
1 edited

Legend:

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

    r8846 r8993  
    387387    public boolean isOutsideDownloadArea() {
    388388        return !isNewOrUndeleted() && getDataSet() != null && getDataSet().getDataSourceArea() != null
    389                 && !getCoor().isIn(getDataSet().getDataSourceArea());
     389                && getCoor() != null && !getCoor().isIn(getDataSet().getDataSourceArea());
    390390    }
    391391}
Note: See TracChangeset for help on using the changeset viewer.