Ignore:
Timestamp:
2018-05-26T19:36:19+02:00 (17 months ago)
Author:
Don-vip
Message:

SonarQube - fix minor code issues

File:
1 edited

Legend:

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

    r13202 r13849  
    192192        }
    193193        List<List<Image>> allVars = imgs.stream().map(HiDPISupport::getResolutionVariants).collect(Collectors.toList());
    194         int maxVariants = allVars.stream().mapToInt(lst -> lst.size()).max().getAsInt();
     194        int maxVariants = allVars.stream().mapToInt(List<Image>::size).max().getAsInt();
    195195        if (maxVariants == 1)
    196196            return processor.apply(imgs);
Note: See TracChangeset for help on using the changeset viewer.