Changeset 3013 in josm
- Timestamp:
- 2010-02-18T11:20:42+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/TagEditorModel.java
r3002 r3013 359 359 // tag name holds an empty key. Don't apply it to the selection. 360 360 // 361 if (tag.getName().trim().equals("") ) {361 if (tag.getName().trim().equals("") || tag.getValue().trim().equals("")) { 362 362 continue; 363 363 } 364 // tag has an empty value => don't apply the tag 365 // 366 if (tag.getValue().trim().equals("")) { 367 continue; 368 } 369 tags.put(tag.getName(), tag.getValue()); 364 tags.put(tag.getName().trim(), tag.getValue().trim()); 370 365 } 371 366 }
Note:
See TracChangeset
for help on using the changeset viewer.