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

Location:
trunk/src/org/openstreetmap/josm/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/AutosaveTask.java

    r10608 r10621  
    232232                changedDatasets.clear();
    233233                if (PROP_NOTIFICATION.get() && !layersInfo.isEmpty()) {
    234                     displayNotification();
     234                    GuiHelper.runInEDT(this::displayNotification);
    235235                }
    236236            } catch (RuntimeException t) {
     
    243243
    244244    protected void displayNotification() {
    245         GuiHelper.runInEDT(
    246                 new Notification(tr("Your work has been saved automatically."))
    247                 .setDuration(Notification.TIME_SHORT)
    248                 ::show);
     245        new Notification(tr("Your work has been saved automatically."))
     246        .setDuration(Notification.TIME_SHORT)
     247        .show();
    249248    }
    250249
  • trunk/src/org/openstreetmap/josm/data/projection/datum/SevenParameterDatum.java

    r8509 r10621  
    1313 * - scale
    1414 *
    15  * This method is described by EPSG as EPSG::9606.
     15 * This method is described by EPSG as EPSG:9606.
    1616 * Also known as Bursa-Wolf.
    1717 */
Note: See TracChangeset for help on using the changeset viewer.