Ignore:
Timestamp:
2018-05-24T02:08:33+02:00 (23 months ago)
Author:
Don-vip
Message:

SonarQube - squid:S3878 - Arrays should not be created for varargs parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJob.java

    r13778 r13825  
    277277            if (now > expires) {
    278278                Logging.debug("JCS - Object {0} has expired -> valid to {1}, now is: {2}",
    279                         new Object[]{getUrlNoException(), Long.toString(expires), Long.toString(now)});
     279                        getUrlNoException(), Long.toString(expires), Long.toString(now));
    280280                return false;
    281281            }
     
    376376                    cache.put(getCacheKey(), cacheData, attributes);
    377377                    Logging.debug("JCS - downloaded key: {0}, length: {1}, url: {2}",
    378                             new Object[] {getCacheKey(), raw.length, getUrl()});
     378                            getCacheKey(), raw.length, getUrl());
    379379                    return true;
    380380                } else if (cacheAsEmpty()) {
Note: See TracChangeset for help on using the changeset viewer.