Changeset 6258 in josm for trunk/src/org/openstreetmap/josm/gui/io
- Timestamp:
- 2013-09-25T02:56:42+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/UploadDialog.java
r6084 r6258 22 22 import java.util.List; 23 23 import java.util.Map; 24 import java.util.Map.Entry; 24 25 25 26 import javax.swing.AbstractAction; … … 312 313 public void setDefaultChangesetTags(Map<String, String> tags) { 313 314 pnlTagSettings.setDefaultTags(tags); 314 for ( String key: tags.keySet()) {315 if ( key.equals("comment")) {316 changesetCommentModel.setComment( tags.get(key));315 for (Entry<String, String> entry: tags.entrySet()) { 316 if ("comment".equals(entry.getKey())) { 317 changesetCommentModel.setComment(entry.getValue()); 317 318 } 318 319 }
Note:
See TracChangeset
for help on using the changeset viewer.