Changeset 1732 in josm
- Timestamp:
- 2009-07-04T22:32:30+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/plugins/PluginDownloader.java
r1647 r1732 69 69 Main.pleaseWaitDlg.currentAction.setText(tr("Downloading Plugin {0}...", d.name)); 70 70 File pluginFile = new File(pluginDir, d.name + ".jar.new"); 71 if (download(d, pluginFile)) 71 if(download(d, pluginFile)) 72 count++; 73 else 72 74 { 73 count++;75 errors += d.name + "\n"; 74 76 failed.add(d); 75 77 } 76 else77 errors += d.name + "\n";78 78 } 79 79 PluginDownloader.moveUpdatedPlugins(); … … 151 151 return t.failed; 152 152 } 153 catch(java.lang.InterruptedException e) { }154 catch(java.util.concurrent.ExecutionException e) { }153 catch(java.lang.InterruptedException e) {e.printStackTrace();} 154 catch(java.util.concurrent.ExecutionException e) {e.printStackTrace();} 155 155 return download; 156 156 }
Note:
See TracChangeset
for help on using the changeset viewer.