Changeset 4063 in josm for trunk


Ignore:
Timestamp:
2011-04-25T19:51:19+02:00 (13 years ago)
Author:
bastiK
Message:

see #6267, check for null

File:
1 edited

Legend:

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

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