Changeset 24956 in osm for applications/editors/josm/plugins/terracer/src
- Timestamp:
- 2011-01-03T17:08:59+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/terracer/src/terracer/HouseNumberInputHandler.java
r24713 r24956 31 31 import org.openstreetmap.josm.actions.JosmAction; 32 32 import org.openstreetmap.josm.data.osm.Node; 33 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionListItem; 33 34 34 35 /** … … 389 390 return null; 390 391 } else { 391 String name = selected.toString(); 392 String name; 393 if (selected instanceof AutoCompletionListItem) 394 { 395 name = ((AutoCompletionListItem)selected).getValue(); 396 } 397 else 398 { 399 name = selected.toString(); 400 } 401 392 402 if (name.length() == 0) { 393 403 return null;
Note:
See TracChangeset
for help on using the changeset viewer.