Ignore:
Timestamp:
2017-01-25T14:12:07+01:00 (4 years ago)
Author:
Don-vip
Message:

see #12627, see #14289 - add non regression unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/Utils.java

    r11435 r11493  
    11661166     */
    11671167    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://"))
    11691169            return false;
    11701170        return true;
Note: See TracChangeset for help on using the changeset viewer.