Changeset 8291 in josm for trunk/src/org/openstreetmap/josm/plugins
- Timestamp:
- 2015-04-29T01:44:01+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/plugins
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/plugins/PluginDownloadTask.java
r8061 r8291 54 54 * @param toUpdate a collection of plugin descriptions for plugins to update/download. Must not be null. 55 55 * @param title the title to display in the {@link org.openstreetmap.josm.gui.PleaseWaitDialog} 56 * @throws IllegalArgumentException thrownif toUpdate is null57 */ 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) { 59 59 super(parent, title == null ? "" : title, false /* don't ignore exceptions */); 60 60 CheckParameterUtil.ensureParameterNotNull(toUpdate, "toUpdate"); … … 68 68 * @param toUpdate a collection of plugin descriptions for plugins to update/download. Must not be null. 69 69 * @param title the title to display in the {@link org.openstreetmap.josm.gui.PleaseWaitDialog} 70 * @throws IllegalArgumentException thrownif toUpdate is null70 * @throws IllegalArgumentException if toUpdate is null 71 71 */ 72 72 public PluginDownloadTask(ProgressMonitor monitor, Collection<PluginInformation> toUpdate, String title) { … … 80 80 * 81 81 * @param toUpdate the collection of plugins to update. Must not be null. 82 * @throws IllegalArgumentException thrownif toUpdate is null83 */ 84 public void setPluginsToDownload(Collection<PluginInformation> toUpdate) throws IllegalArgumentException{82 * @throws IllegalArgumentException if toUpdate is null 83 */ 84 public void setPluginsToDownload(Collection<PluginInformation> toUpdate) { 85 85 CheckParameterUtil.ensureParameterNotNull(toUpdate, "toUpdate"); 86 86 this.toUpdate.clear(); -
trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java
r8126 r8291 883 883 * @param monitor the progress monitor. Defaults to {@link NullProgressMonitor#INSTANCE} if null. 884 884 * @param displayErrMsg if {@code true}, a blocking error message is displayed in case of I/O exception. 885 * @throws IllegalArgumentException thrownif plugins is null885 * @throws IllegalArgumentException if plugins is null 886 886 */ 887 887 public static Collection<PluginInformation> updatePlugins(Component parent, 888 Collection<PluginInformation> pluginsWanted, ProgressMonitor monitor, boolean displayErrMsg) 889 throws IllegalArgumentException { 888 Collection<PluginInformation> pluginsWanted, ProgressMonitor monitor, boolean displayErrMsg) { 890 889 Collection<PluginInformation> plugins = null; 891 890 pluginDownloadTask = null; -
trunk/src/org/openstreetmap/josm/plugins/PluginInformation.java
r8101 r8291 106 106 * @param file the plugin jar 107 107 * @param name the plugin name 108 * @throws PluginException thrownif reading the manifest file fails108 * @throws PluginException if reading the manifest file fails 109 109 */ 110 110 public PluginInformation(File file, String name) throws PluginException { … … 135 135 * @param name the plugin name 136 136 * @param url the download URL for the plugin 137 * @throws PluginException thrownif the plugin information can't be read from the input stream137 * @throws PluginException if the plugin information can't be read from the input stream 138 138 */ 139 139 public PluginInformation(InputStream manifestStream, String name, String url) throws PluginException { -
trunk/src/org/openstreetmap/josm/plugins/PluginListParser.java
r7082 r8291 55 55 * @param in the input stream from which to parse 56 56 * @return the list of plugin information objects 57 * @throws PluginListParseException thrownif something goes wrong while parsing57 * @throws PluginListParseException if something goes wrong while parsing 58 58 */ 59 59 public List<PluginInformation> parse(InputStream in) throws PluginListParseException{
Note: See TracChangeset
for help on using the changeset viewer.