Ignore:
Timestamp:
2016-07-23T15:46:39+02:00 (10 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/data/osm/event/SelectionEventManager.java

    r10043 r10608  
    8888    }
    8989
    90     private final Runnable edtRunnable = new Runnable() {
    91         @Override
    92         public void run() {
    93             if (selection != null) {
    94                 fireEvents(inEDTListeners, selection);
    95             }
     90    private final Runnable edtRunnable = () -> {
     91        if (selection != null) {
     92            fireEvents(inEDTListeners, selection);
    9693        }
    9794    };
Note: See TracChangeset for help on using the changeset viewer.