Ignore:
Timestamp:
2016-07-23T04:10:39+02:00 (9 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/CloseChangesetAction.java

    r10212 r10601  
    9797        @Override
    9898        protected void finish() {
    99             SwingUtilities.invokeLater(
    100                     new Runnable() {
    101                         @Override
    102                         public void run() {
     99            SwingUtilities.invokeLater(() -> {
    103100                            if (lastException != null) {
    104101                                ExceptionDialogUtil.explainException(lastException);
     
    108105                                onPostDownloadOpenChangesets();
    109106                            }
    110                         }
    111                     }
    112             );
     107                        });
    113108        }
    114109
Note: See TracChangeset for help on using the changeset viewer.