Ignore:
Timestamp:
2016-07-24T13:13:18+02:00 (8 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/actions/CreateMultipolygonAction.java

    r10601 r10621  
    289289        if (error != null) {
    290290            if (showNotif) {
    291                 GuiHelper.runInEDT(
     291                GuiHelper.runInEDT(() ->
    292292                        new Notification(error)
    293293                        .setIcon(JOptionPane.INFORMATION_MESSAGE)
    294                         ::show);
     294                        .show());
    295295            }
    296296            return null;
Note: See TracChangeset for help on using the changeset viewer.