Ignore:
Timestamp:
2018-04-24T00:03:28+02:00 (10 months ago)
Author:
Don-vip
Message:

fix recent SonarQube issues

File:
1 edited

Legend:

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

    r13670 r13672  
    405405                Logging.error(message);
    406406                if (!GraphicsEnvironment.isHeadless()) {
    407                     GuiHelper.runInEDT(() -> {
    408                         JOptionPane.showMessageDialog(Main.parent, message, tr("Error"), JOptionPane.ERROR_MESSAGE);
    409                     });
     407                    GuiHelper.runInEDT(() ->
     408                        JOptionPane.showMessageDialog(Main.parent, message, tr("Error"), JOptionPane.ERROR_MESSAGE)
     409                    );
    410410                }
    411411            }
Note: See TracChangeset for help on using the changeset viewer.