Changeset 16144 in josm for trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java
- Timestamp:
- 2020-03-15T21:59:03+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java
r15789 r16144 189 189 if (newLayerName == null || newLayerName.isEmpty()) { 190 190 Matcher matcher = Pattern.compile(pattern).matcher(url); 191 newLayerName = matcher.matches() && matcher.groupCount() > 0 ? matcher.group(1) : null; 191 newLayerName = matcher.matches() && matcher.groupCount() > 0 ? Utils.decodeUrl(matcher.group(1)) : null; 192 192 } 193 193 }
Note:
See TracChangeset
for help on using the changeset viewer.
