Changeset 1843 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2009-07-25T18:37:45+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmWriter.java
r1735 r1843 164 164 165 165 private void addTags(OsmPrimitive osm, String tagname, boolean tagOpen) { 166 if (osm. keys != null) {166 if (osm.hasKeys()) { 167 167 if (tagOpen) { 168 168 out.println(">"); 169 169 } 170 for (Entry<String, String> e : osm. keys.entrySet()) {170 for (Entry<String, String> e : osm.entrySet()) { 171 171 if ((osm instanceof Changeset) || !("created_by".equals(e.getKey()))) 172 172 out.println(" <tag k='"+ XmlWriter.encode(e.getKey()) +
Note:
See TracChangeset
for help on using the changeset viewer.