Changeset 35607 in osm for applications/editors
- Timestamp:
- 2020-10-20T02:32:30+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfWriter.java
r35446 r35607 9 9 import java.util.Comparator; 10 10 import java.util.List; 11 import java.util.Map .Entry;11 import java.util.Map; 12 12 13 13 import org.openstreetmap.josm.data.DataSource; … … 95 95 StringTable stable = getStringTable(); 96 96 for (T i : contents) { 97 for ( Entry<String, String> tag : i.getKeys().entrySet()) {97 for (Map.Entry<String, String> tag : i.getKeys().entrySet()) { 98 98 stable.incr(tag.getKey()); 99 99 stable.incr(tag.getValue()); … … 210 210 // Then we must include tag information. 211 211 if (doesBlockHaveTags) { 212 for ( Entry<String, String> t : i.getKeys().entrySet()) {212 for (Map.Entry<String, String> t : i.getKeys().entrySet()) { 213 213 bi.addKeysVals(stable.getIndex(t.getKey())); 214 214 bi.addKeysVals(stable.getIndex(t.getValue())); … … 223 223 /** 224 224 * Serialize all nodes in the non-dense format. 225 *226 * @param parentbuilder Add to this PrimitiveBlock.227 225 */ 228 226 public Osmformat.PrimitiveGroup serializeNonDense() { … … 241 239 bi.setLon(lon); 242 240 bi.setLat(lat); 243 for ( Entry<String, String> t : i.getKeys().entrySet()) {241 for (Map.Entry<String, String> t : i.getKeys().entrySet()) { 244 242 bi.addKeys(stable.getIndex(t.getKey())); 245 243 bi.addVals(stable.getIndex(t.getValue())); … … 273 271 lastid = id; 274 272 } 275 for ( Entry<String, String> t : i.getKeys().entrySet()) {273 for (Map.Entry<String, String> t : i.getKeys().entrySet()) { 276 274 bi.addKeys(stable.getIndex(t.getKey())); 277 275 bi.addVals(stable.getIndex(t.getValue())); … … 328 326 } 329 327 330 for ( Entry<String, String> t : i.getKeys().entrySet()) {328 for (Map.Entry<String, String> t : i.getKeys().entrySet()) { 331 329 bi.addKeys(stable.getIndex(t.getKey())); 332 330 bi.addVals(stable.getIndex(t.getValue()));
Note:
See TracChangeset
for help on using the changeset viewer.