Ignore:
Timestamp:
2017-05-30T15:12:36+02:00 (7 years ago)
Author:
Don-vip
Message:

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

File:
1 edited

Legend:

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

    r10469 r12279  
    3030    private static final String ERROR_MESSAGE = "errorMessage";
    3131    // this contains all of the above
    32     private static final Set<String> RESERVED_KEYS = new HashSet<>(Arrays.asList(new String[]{
     32    private static final Set<String> RESERVED_KEYS = new HashSet<>(Arrays.asList(
    3333        NO_TILE_AT_ZOOM,
    3434        ETAG,
     
    3737        HTTP_RESPONSE_CODE,
    3838        ERROR_MESSAGE
    39     }));
    40 
     39    ));
    4140
    4241    /**
Note: See TracChangeset for help on using the changeset viewer.