Changeset 12472 in josm for trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/LoadAndZoomHandler.java
- Timestamp:
- 2017-07-13T21:31:24+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/LoadAndZoomHandler.java
r11746 r12472 280 280 toSelect.clear(); 281 281 for (String item : args.get("select").split(",")) { 282 try { 283 toSelect.add(SimplePrimitiveId.fromString(item)); 284 } catch (IllegalArgumentException ex) { 285 Main.warn(ex, "RemoteControl: invalid selection '" + item + "' ignored"); 282 if (!item.isEmpty()) { 283 try { 284 toSelect.add(SimplePrimitiveId.fromString(item)); 285 } catch (IllegalArgumentException ex) { 286 Main.warn(ex, "RemoteControl: invalid selection '" + item + "' ignored"); 287 } 286 288 } 287 289 }
Note:
See TracChangeset
for help on using the changeset viewer.