Ticket #14545: #14545-prep.patch

File #14545-prep.patch, 644 bytes (added by GerdP, 6 years ago)

prep step to fix #14545

  • src/org/openstreetmap/josm/io/AbstractReader.java

     
    610610        return !Double.isNaN(lat) && !Double.isNaN(lon);
    611611    }
    612612
    613     private OsmPrimitive buildPrimitive(PrimitiveData pd) {
     613    protected OsmPrimitive buildPrimitive(PrimitiveData pd) {
    614614        OsmPrimitive p;
    615615        if (pd.getUniqueId() < AbstractPrimitive.currentUniqueId()) {
    616616            p = pd.getType().newInstance(pd.getUniqueId(), true);