Changeset 15328 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2019-09-01T01:36:25+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/OpeningHourTest.java
r15318 r15328 21 21 import org.openstreetmap.josm.data.validation.TestError; 22 22 import org.openstreetmap.josm.gui.Notification; 23 import org.openstreetmap.josm.gui.util.GuiHelper; 23 24 import org.openstreetmap.josm.io.CachedFile; 24 25 import org.openstreetmap.josm.tools.LanguageInfo; … … 250 251 } catch (ScriptException | NoSuchMethodException ex) { 251 252 Logging.error(ex); 252 new Notification(Utils.getRootCause(ex).getMessage()).setIcon(JOptionPane.ERROR_MESSAGE).show();253 GuiHelper.runInEDT(() -> new Notification(Utils.getRootCause(ex).getMessage()).setIcon(JOptionPane.ERROR_MESSAGE).show()); 253 254 } 254 255 return errors;
Note:
See TracChangeset
for help on using the changeset viewer.