Ignore:
Timestamp:
2016-07-23T18:46:45+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/gui/layer/Layer.java

    r10600 r10611  
    516516
    517517            // run later to not block loading the UI.
    518             SwingUtilities.invokeLater(new Runnable() {
    519                 @Override
    520                 public void run() {
    521                     JOptionPane.showMessageDialog(Main.parent,
    522                             message,
    523                             tr("Warning"),
    524                             JOptionPane.WARNING_MESSAGE);
    525                 }
    526             });
     518            SwingUtilities.invokeLater(() -> JOptionPane.showMessageDialog(Main.parent,
     519                    message,
     520                    tr("Warning"),
     521                    JOptionPane.WARNING_MESSAGE));
    527522        }
    528523    }
Note: See TracChangeset for help on using the changeset viewer.