- Timestamp:
- 2015-06-07T13:37:44+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/downloadtasks/PostDownloadHandler.java
r8338 r8472 16 16 import org.openstreetmap.josm.Main; 17 17 import org.openstreetmap.josm.gui.ExceptionDialogUtil; 18 import org.openstreetmap.josm.gui.Notification; 18 19 import org.openstreetmap.josm.tools.ExceptionUtil; 19 20 import org.openstreetmap.josm.tools.Utils; … … 64 65 @Override 65 66 public void run() { 66 // wait for all downloads task to finish (by waiting for the futures 67 // to return a value) 67 // wait for all downloads task to finish (by waiting for the futures to return a value) 68 68 // 69 69 for (Future<?> future: futures) { … … 92 92 if (error instanceof Exception) { 93 93 ExceptionDialogUtil.explainException((Exception)error); 94 } else if (tr("No data found in this area.").equals(error)) { 95 new Notification(error.toString()).setIcon(JOptionPane.WARNING_MESSAGE).show(); 94 96 } else { 95 97 JOptionPane.showMessageDialog(
Note:
See TracChangeset
for help on using the changeset viewer.