Ignore:
Timestamp:
2016-07-24T13:13:18+02:00 (3 years ago)
Author:
Don-vip
Message:

fix #13197 - bad use of method references instead of lambdas, causing graphical objects to be created in another thread than EDT

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/NMEAImporter.java

    r10616 r10621  
    7575           .append("</html>");
    7676        if (success) {
    77             SwingUtilities.invokeLater(new Notification(
     77            SwingUtilities.invokeLater(() -> new Notification(
    7878                    "<h3>" + tr("NMEA import success:") + "</h3>" + msg.toString())
    7979                    .setIcon(JOptionPane.INFORMATION_MESSAGE)
    80                     ::show);
     80                    .show());
    8181        } else {
    8282            HelpAwareOptionPane.showMessageDialogInEDT(
Note: See TracChangeset for help on using the changeset viewer.