Changeset 6258 in josm for trunk/src/org/openstreetmap/josm/gui/tagging/TagEditorModel.java
- Timestamp:
- 2013-09-25T02:56:42+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/TagEditorModel.java
r6092 r6258 13 13 import java.util.List; 14 14 import java.util.Map; 15 import java.util.Map.Entry; 15 16 16 17 import javax.swing.DefaultListSelectionModel; … … 369 370 public void initFromTags(Map<String,String> tags) { 370 371 this.tags.clear(); 371 for (String key : tags.keySet()) { 372 String value = tags.get(key); 373 this.tags.add(new TagModel(key,value)); 372 for (Entry<String, String> entry : tags.entrySet()) { 373 this.tags.add(new TagModel(entry.getKey(), entry.getValue())); 374 374 } 375 375 sort();
Note:
See TracChangeset
for help on using the changeset viewer.