Changeset 9290 in josm for trunk/src/org
- Timestamp:
- 2016-01-03T23:59:17+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/JoinAreasAction.java
r9243 r9290 1510 1510 private void stripTags(Collection<Way> ways) { 1511 1511 for (Way w : ways) { 1512 stripTags(w);1512 w.removeAll(); 1513 1513 } 1514 1514 /* I18N: current action printed in status display */ 1515 1515 commitCommands(marktr("Remove tags from inner ways")); 1516 }1517 1518 /**1519 * Remove all tags from the way1520 * @param x The Way to remove all tags from1521 */1522 private void stripTags(Way x) {1523 Way y = new Way(x);1524 for (String key : x.keySet()) {1525 y.remove(key);1526 }1527 cmds.add(new ChangeCommand(x, y));1528 1516 } 1529 1517
Note:
See TracChangeset
for help on using the changeset viewer.