[freenet-cvs] r15737 - trunk/freenet/src/freenet/clients/http

bombe at freenetproject.org bombe at freenetproject.org
Sat Nov 10 12:15:43 UTC 2007


Author: bombe
Date: 2007-11-10 12:15:43 +0000 (Sat, 10 Nov 2007)
New Revision: 15737

Modified:
   trunk/freenet/src/freenet/clients/http/PproxyToadlet.java
Log:
remove unnecessary parameter, fix documentation

Modified: trunk/freenet/src/freenet/clients/http/PproxyToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/PproxyToadlet.java	2007-11-10 11:56:52 UTC (rev 15736)
+++ trunk/freenet/src/freenet/clients/http/PproxyToadlet.java	2007-11-10 12:15:43 UTC (rev 15737)
@@ -284,7 +284,7 @@
 					availablePlugins.remove(pluginName);
 				}
 
-				showStartingPlugins(ctx, pm, contentNode);
+				showStartingPlugins(pm, contentNode);
 				showPluginList(ctx, pm, contentNode);
 				showOfficialPluginLoader(ctx, contentNode, availablePlugins);
 				showUnofficialPluginLoader(ctx, contentNode);
@@ -354,18 +354,12 @@
 	/**
 	 * Shows a list of all currently loading plugins.
 	 * 
-	 * @param toadletContext
-	 *            The toadlet context
-	 * @param request
-	 *            The HTTP request
 	 * @param pluginManager
 	 *            The plugin manager
-	 * @throws ToadletContextClosedException
-	 *             if the toadlet context is closed
-	 * @throws IOException
-	 *             if an I/O error occurs
+	 * @param contentNode
+	 *            The node to add content to
 	 */
-	private void showStartingPlugins(ToadletContext toadletContext, PluginManager pluginManager, HTMLNode contentNode) throws ToadletContextClosedException, IOException {
+	private void showStartingPlugins(PluginManager pluginManager, HTMLNode contentNode) {
 		Set/*<PluginProgress>*/ startingPlugins = pluginManager.getStartingPlugins();
 		if (!startingPlugins.isEmpty()) {
 			HTMLNode startingPluginsBox = contentNode.addChild("div", "class", "infobox infobox-normal");




More information about the cvs mailing list