Changeset 11493 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2017-01-25T14:12:07+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/Utils.java
r11435 r11493 1166 1166 */ 1167 1167 public static boolean isLocalUrl(String url) { 1168 if (url .startsWith("http://") || url.startsWith("https://") || url.startsWith("resource://"))1168 if (url == null || url.startsWith("http://") || url.startsWith("https://") || url.startsWith("resource://")) 1169 1169 return false; 1170 1170 return true;
Note: See TracChangeset
for help on using the changeset viewer.