Ignore:
Timestamp:
2016-08-03T15:39:00+02:00 (4 years ago)
Author:
simon04
Message:

see #11390, see #12890 - Lambda can be replaced with method reference

Location:
trunk/src/org/openstreetmap/josm/io
Files:
2 edited

Legend:

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

    r10670 r10717  
    234234
    235235            formats = getChildrenStream(child, "Format")
    236                     .map(x -> x.getTextContent())
     236                    .map(Node::getTextContent)
    237237                    .filter(WMSImagery::isImageFormatSupportedWarn)
    238238                    .collect(Collectors.toList());
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/ImageryHandler.java

    r10689 r10717  
    132132    public String[] getUsageExamples() {
    133133        final String types = Utils.join("|", Utils.transform(Arrays.asList(ImageryInfo.ImageryType.values()),
    134                 (Function<ImageryType, String>) x -> x.getTypeString()));
     134                ImageryType::getTypeString));
    135135        return new String[] {
    136136            "/imagery?title=osm&type=tms&url=https://a.tile.openstreetmap.org/%7Bzoom%7D/%7Bx%7D/%7By%7D.png",
Note: See TracChangeset for help on using the changeset viewer.