Changeset 4062 in josm


Ignore:
Timestamp:
2011-04-25T00:26:16+02:00 (10 years ago)
Author:
stoecker
Message:

fix #6267 - NPE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/Capabilities.java

    r3986 r4062  
    137137    public boolean isOnImageryBlacklist(String url)
    138138    {
    139         if (url != null){
     139        if (url != null && imageryBlacklist.size() != 0) {
    140140            for (String blacklistRegex : imageryBlacklist) {
    141141                if (url.matches(blacklistRegex))
Note: See TracChangeset for help on using the changeset viewer.