Changeset 2188 in josm for trunk/src/org/openstreetmap/josm/data/APIDataSet.java
- Timestamp:
- 2009-09-26T09:43:40+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/APIDataSet.java
r2168 r2188 28 28 * The collection is derived from the modified primitives of an {@see DataSet}. 29 29 * 30 *31 30 */ 32 31 public class APIDataSet { … … 45 44 46 45 /** 47 * initializes the API data set with the modified primitives in <code>ds</ ds>48 * 49 * @param ds the data set. Ignore , if null.46 * initializes the API data set with the modified primitives in <code>ds</code> 47 * 48 * @param ds the data set. Ignored, if null. 50 49 */ 51 50 public void init(DataSet ds) { … … 63 62 } else if (osm.isModified() && !osm.isDeleted()) { 64 63 toUpdate.addLast(osm); 65 } else if (osm.isDeleted() && osm.getId() != 0 ) {64 } else if (osm.isDeleted() && osm.getId() != 0 && osm.isModified()) { 66 65 toDelete.addFirst(osm); 67 66 } … … 70 69 71 70 /** 72 * initializes the API data set with the modified primitives in <code>ds</ ds>73 * 74 * @param ds the data set. Ignore , if null.71 * initializes the API data set with the modified primitives in <code>ds</code> 72 * 73 * @param ds the data set. Ignored, if null. 75 74 */ 76 75 public APIDataSet(DataSet ds) {
Note:
See TracChangeset
for help on using the changeset viewer.