Ignore:
Timestamp:
2016-07-23T20:04:31+02:00 (8 years ago)
Author:
Don-vip
Message:

see #11390 - sonar - squid:S1604 - Java 8: Anonymous inner classes containing only one method should become lambdas

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/AddWayHandler.java

    r10453 r10615  
    7373    @Override
    7474    protected void handleRequest() throws RequestHandlerErrorException, RequestHandlerBadRequestException {
    75         GuiHelper.runInEDTAndWait(new Runnable() {
    76             @Override public void run() {
    77                 way = addWay();
    78             }
    79         });
     75        GuiHelper.runInEDTAndWait(() -> way = addWay());
    8076        // parse parameter addtags=tag1=value1|tag2=value2
    8177        AddTagsDialog.addTags(args, sender, Collections.singleton(way));
Note: See TracChangeset for help on using the changeset viewer.