Ignore:
Timestamp:
2016-07-23T04:10:39+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/actions/SessionLoadAction.java

    r10432 r10601  
    112112        @Override
    113113        protected void finish() {
    114             SwingUtilities.invokeLater(new Runnable() {
    115                 @Override
    116                 public void run() {
    117                     if (canceled)
    118                         return;
    119                     addLayers();
    120                     runPostLoadTasks();
    121                 }
     114            SwingUtilities.invokeLater(() -> {
     115                if (canceled)
     116                    return;
     117                addLayers();
     118                runPostLoadTasks();
    122119            });
    123120        }
Note: See TracChangeset for help on using the changeset viewer.