Ignore:
Timestamp:
2015-05-18T23:34:11+02:00 (9 years ago)
Author:
Don-vip
Message:
  • global use of String.isEmpty()
  • Correctness - Method throws alternative exception from catch block without history
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/plugins/PluginDownloadTask.java

    r8291 r8394  
    137137            }
    138138        } catch (MalformedURLException e) {
    139             String msg = tr("Cannot download plugin ''{0}''. Its download link ''{1}'' is not a valid URL. Skipping download.", pi.name, pi.downloadlink);
     139            String msg = tr("Cannot download plugin ''{0}''. Its download link ''{1}'' is not a valid URL. Skipping download.",
     140                    pi.name, pi.downloadlink);
    140141            Main.warn(msg);
    141             throw new PluginDownloadException(msg);
     142            throw new PluginDownloadException(msg, e);
    142143        } catch (IOException e) {
    143144            if (canceled)
Note: See TracChangeset for help on using the changeset viewer.