Ignore:
Timestamp:
2017-09-26T02:25:00+02:00 (7 years ago)
Author:
Don-vip
Message:

SonarQube - squid:S1612 - Lambdas should be replaced with method references

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java

    r12873 r12901  
    503503    public static SplitWayResult splitWay(Way way, List<List<Node>> wayChunks,
    504504            Collection<? extends OsmPrimitive> selection, Strategy splitStrategy) {
    505         SplitWayCommand cmd = SplitWayCommand.splitWay(way, wayChunks, selection, x -> splitStrategy.determineWayToKeep(x));
     505        SplitWayCommand cmd = SplitWayCommand.splitWay(way, wayChunks, selection, splitStrategy::determineWayToKeep);
    506506        return cmd != null ? new SplitWayResult(cmd) : null;
    507507    }
Note: See TracChangeset for help on using the changeset viewer.