Ignore:
Timestamp:
2015-04-29T01:44:01+02:00 (9 years ago)
Author:
Don-vip
Message:

fix squid:RedundantThrowsDeclarationCheck + consistent Javadoc for exceptions

File:
1 edited

Legend:

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

    r8061 r8291  
    5454     * @param toUpdate a collection of plugin descriptions for plugins to update/download. Must not be null.
    5555     * @param title the title to display in the {@link org.openstreetmap.josm.gui.PleaseWaitDialog}
    56      * @throws IllegalArgumentException thrown if toUpdate is null
    57      */
    58     public PluginDownloadTask(Component parent, Collection<PluginInformation> toUpdate, String title) throws IllegalArgumentException{
     56     * @throws IllegalArgumentException if toUpdate is null
     57     */
     58    public PluginDownloadTask(Component parent, Collection<PluginInformation> toUpdate, String title) {
    5959        super(parent, title == null ? "" : title, false /* don't ignore exceptions */);
    6060        CheckParameterUtil.ensureParameterNotNull(toUpdate, "toUpdate");
     
    6868     * @param toUpdate a collection of plugin descriptions for plugins to update/download. Must not be null.
    6969     * @param title the title to display in the {@link org.openstreetmap.josm.gui.PleaseWaitDialog}
    70      * @throws IllegalArgumentException thrown if toUpdate is null
     70     * @throws IllegalArgumentException if toUpdate is null
    7171     */
    7272    public PluginDownloadTask(ProgressMonitor monitor, Collection<PluginInformation> toUpdate, String title) {
     
    8080     *
    8181     * @param toUpdate the collection of plugins to update. Must not be null.
    82      * @throws IllegalArgumentException thrown if toUpdate is null
    83      */
    84     public void setPluginsToDownload(Collection<PluginInformation> toUpdate) throws IllegalArgumentException{
     82     * @throws IllegalArgumentException if toUpdate is null
     83     */
     84    public void setPluginsToDownload(Collection<PluginInformation> toUpdate) {
    8585        CheckParameterUtil.ensureParameterNotNull(toUpdate, "toUpdate");
    8686        this.toUpdate.clear();
Note: See TracChangeset for help on using the changeset viewer.