Ignore:
Timestamp:
2017-12-16T21:06:42+01:00 (22 months ago)
Author:
Don-vip
Message:

update to PMD 6.0.0

File:
1 edited

Legend:

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

    r12868 r13202  
    187187     */
    188188    public static Image processMRImages(List<Image> imgs, Function<List<Image>, Image> processor) {
    189         CheckParameterUtil.ensureThat(imgs.size() >= 1, "at least on element expected");
     189        CheckParameterUtil.ensureThat(!imgs.isEmpty(), "at least one element expected");
    190190        if (!getBaseMultiResolutionImageClass().isPresent()) {
    191191            return processor.apply(imgs);
Note: See TracChangeset for help on using the changeset viewer.