Changeset 15180 in josm for trunk/src/org
- Timestamp:
- 2019-06-18T00:09:37+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/DownloadParamType.java
r14153 r15180 27 27 */ 28 28 public enum DownloadParamType { 29 /** http(s):// URL */ 29 /** http(s):// or geo:// URL */ 30 30 httpUrl { 31 31 @Override … … 142 142 */ 143 143 public static DownloadParamType paramType(String s) { 144 if (s.startsWith("http:") || s.startsWith("https:")) return DownloadParamType.httpUrl; 144 if (s.startsWith("http:") || s.startsWith("https:") || s.startsWith("geo:")) return DownloadParamType.httpUrl; 145 145 if (s.startsWith("file:")) return DownloadParamType.fileUrl; 146 146 String coorPattern = "\\s*[+-]?[0-9]+(\\.[0-9]+)?\\s*";
Note:
See TracChangeset
for help on using the changeset viewer.