Changeset 7356 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/SourceEntry.java
- Timestamp:
- 2014-08-01T19:17:40+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/SourceEntry.java
r7276 r7356 8 8 9 9 import org.openstreetmap.josm.Main; 10 import org.openstreetmap.josm.tools.Utils; 10 11 11 12 /** … … 178 179 */ 179 180 public boolean isLocal() { 180 if (url.startsWith("http://") || url.startsWith("https://") || url.startsWith("resource://")) 181 return false; 182 return true; 181 return Utils.isLocalUrl(url); 183 182 } 184 183
Note:
See TracChangeset
for help on using the changeset viewer.