Changeset 14853 in josm
- Timestamp:
- 2019-03-09T01:35:37+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/gpx/GpxData.java
r14624 r14853 426 426 427 427 // do not let the name grow if split / combine operations are called iteratively 428 attrs.put("name", attrs.get("name").toString().replaceFirst(" #\\d+$", "")); 428 Object name = attrs.get("name"); 429 if (name != null) { 430 attrs.put("name", name.toString().replaceFirst(" #\\d+$", "")); 431 } 429 432 430 433 clearTracks();
Note:
See TracChangeset
for help on using the changeset viewer.