Changeset 84 in josm for src/org/openstreetmap
- Timestamp:
- 2006-04-08T01:21:08+02:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/io/OsmServerWriter.java
r79 r84 65 65 */ 66 66 public void visit(Node n) { 67 if (n.id == 0 && !n.isDeleted() ) {67 if (n.id == 0 && !n.isDeleted() && n.get("created_by") == null) { 68 68 n.put("created_by", "JOSM"); 69 69 sendRequest("PUT", "node", n, true); … … 80 80 */ 81 81 public void visit(LineSegment ls) { 82 if (ls.id == 0 && !ls.isDeleted() ) {82 if (ls.id == 0 && !ls.isDeleted() && ls.get("created_by") == null) { 83 83 ls.put("created_by", "JOSM"); 84 84 sendRequest("PUT", "segment", ls, true); … … 95 95 */ 96 96 public void visit(Way w) { 97 if (w.id == 0 && !w.isDeleted() ) {97 if (w.id == 0 && !w.isDeleted() && w.get("created_by") == null) { 98 98 w.put("created_by", "JOSM"); 99 99 sendRequest("PUT", "way", w, true);
Note:
See TracChangeset
for help on using the changeset viewer.