Changeset 13328 in josm for trunk/src


Ignore:
Timestamp:
2018-01-15T01:41:33+01:00 (2 years ago)
Author:
Don-vip
Message:

see #15730 - sonar - squid:S1612 - Lambdas should be replaced with method references

File:
1 edited

Legend:

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

    r13274 r13328  
    374374        getChildrenStream(element)
    375375            .filter(child -> "CRS".equals(child.getNodeName()) || "SRS".equals(child.getNodeName()))
    376             .map(child -> getContent(child))
     376            .map(WMSImagery::getContent)
    377377            .filter(crs -> !crs.isEmpty())
    378378            .map(crs -> crs.trim().toUpperCase(Locale.ENGLISH))
Note: See TracChangeset for help on using the changeset viewer.