Changeset 2953 in josm for trunk


Ignore:
Timestamp:
2010-02-08T16:37:33+01:00 (14 years ago)
Author:
mjulius
Message:

fixes #4492 - josm doesn't read action=delete from osm file
set the modified flag when reading a deleted primitive

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmReader.java

    r2939 r2953  
    357357            } else if (action.equals("delete")) {
    358358                current.setDeleted(true);
    359             } else if (action.startsWith("modify")) { //FIXME: why startsWith()? why not equals()?
     359                current.setModified(true);
     360            } else if (action.equals("modify")) {
    360361                current.setModified(true);
    361362            }
Note: See TracChangeset for help on using the changeset viewer.