From e0e06d73ebe4ea8eed8b749fc9e1bca51c9f8780 Mon Sep 17 00:00:00 2001
From: zzz Usage
+ * Usage
* Each part of the form data is named from the HTML form and
* is available either via getString(name) or getInputStream(name).
* Furthermore the MIME parameters and filename can be requested for
diff --git a/apps/routerconsole/java/src/net/i2p/router/web/GraphHelper.java b/apps/routerconsole/java/src/net/i2p/router/web/GraphHelper.java
index 5beb2ba232..169a795f36 100644
--- a/apps/routerconsole/java/src/net/i2p/router/web/GraphHelper.java
+++ b/apps/routerconsole/java/src/net/i2p/router/web/GraphHelper.java
@@ -56,7 +56,7 @@ public class GraphHelper extends FormHandler {
}
/**
- * This must be output in the jsp since must be in the
+ * This must be output in the jsp since *lt;meta> must be in the <head>
* @since 0.8.7
*/
public String getRefreshMeta() {
diff --git a/apps/routerconsole/java/src/net/i2p/router/web/SummaryHelper.java b/apps/routerconsole/java/src/net/i2p/router/web/SummaryHelper.java
index 75a55709fa..56cffb2000 100644
--- a/apps/routerconsole/java/src/net/i2p/router/web/SummaryHelper.java
+++ b/apps/routerconsole/java/src/net/i2p/router/web/SummaryHelper.java
@@ -118,6 +118,7 @@ public class SummaryHelper extends HelperBase {
}
**/
+ /** allowReseed */
public boolean allowReseed() {
return _context.netDb().isInitialized() &&
(_context.netDb().getKnownRouters() < 30) ||
diff --git a/apps/routerconsole/java/src/net/i2p/router/web/WebAppConfiguration.java b/apps/routerconsole/java/src/net/i2p/router/web/WebAppConfiguration.java
index c88ec64d90..3e2eb9ecc6 100644
--- a/apps/routerconsole/java/src/net/i2p/router/web/WebAppConfiguration.java
+++ b/apps/routerconsole/java/src/net/i2p/router/web/WebAppConfiguration.java
@@ -37,7 +37,7 @@ import org.eclipse.jetty.webapp.WebAppContext;
*
* No, wac.addClassPath() does not work. For more info see:
*
- * http://servlets.com/archive/servlet/ReadMsg?msgId=511113&listName=jetty-support
+ * http://servlets.com/archive/servlet/ReadMsg?msgId=511113&listName=jetty-support
*
* @since 0.7.12
* @author zzz
diff --git a/apps/routerconsole/java/src/net/i2p/router/web/WebAppStarter.java b/apps/routerconsole/java/src/net/i2p/router/web/WebAppStarter.java
index 4455945e83..70a86a89b4 100644
--- a/apps/routerconsole/java/src/net/i2p/router/web/WebAppStarter.java
+++ b/apps/routerconsole/java/src/net/i2p/router/web/WebAppStarter.java
@@ -27,7 +27,7 @@ import org.eclipse.jetty.webapp.WebAppContext;
*
* No, wac.addClassPath() does not work. For more info see:
*
- * http://servlets.com/archive/servlet/ReadMsg?msgId=511113&listName=jetty-support
+ * http://servlets.com/archive/servlet/ReadMsg?msgId=511113&listName=jetty-support
*
* @since 0.7.12
* @author zzz
@@ -51,7 +51,7 @@ public class WebAppStarter {
* Adds and starts.
* Prior to 0.9.28, was not guaranteed to throw on failure.
*
- * @throws just about anything, caller would be wise to catch Throwable
+ * @throws Exception just about anything, caller would be wise to catch Throwable
*/
static void startWebApp(RouterContext ctx, ContextHandlerCollection server,
String appName, String warPath) throws Exception {
@@ -123,8 +123,8 @@ public class WebAppStarter {
}
/**
- * stop it and remove the context
- * @throws just about anything, caller would be wise to catch Throwable
+ * Stop it and remove the context.
+ * Throws just about anything, caller would be wise to catch Throwable
*/
static void stopWebApp(String appName) {
ContextHandler wac = getWebApp(appName);
diff --git a/apps/sam/java/src/net/i2p/sam/MasterSession.java b/apps/sam/java/src/net/i2p/sam/MasterSession.java
index 67ff566b56..fc69a7238c 100644
--- a/apps/sam/java/src/net/i2p/sam/MasterSession.java
+++ b/apps/sam/java/src/net/i2p/sam/MasterSession.java
@@ -54,7 +54,6 @@ class MasterSession extends SAMv3StreamSession implements SAMDatagramReceiver, S
* @param nick nickname of the session
* @throws IOException
* @throws DataFormatException
- * @throws I2PSessionException
*/
public MasterSession(String nick, SAMv3DatagramServer dgServer, SAMv3Handler handler, Properties props)
throws IOException, DataFormatException, SAMException {
diff --git a/apps/sam/java/src/net/i2p/sam/SAMv3StreamSession.java b/apps/sam/java/src/net/i2p/sam/SAMv3StreamSession.java
index f547a2e402..8be28b4759 100644
--- a/apps/sam/java/src/net/i2p/sam/SAMv3StreamSession.java
+++ b/apps/sam/java/src/net/i2p/sam/SAMv3StreamSession.java
@@ -77,7 +77,7 @@ class SAMv3StreamSession extends SAMStreamSession implements Session
* @throws IOException
* @throws DataFormatException
* @throws SAMException
- * @throws NPE if login nickname is not registered
+ * @throws NullPointerException if login nickname is not registered
*/
public SAMv3StreamSession(String login)
throws IOException, DataFormatException, SAMException
@@ -98,7 +98,6 @@ class SAMv3StreamSession extends SAMStreamSession implements Session
* @param login nickname of the session
* @throws IOException
* @throws DataFormatException
- * @throws I2PSessionException
* @since 0.9.25
*/
public SAMv3StreamSession(String login, Properties props, SAMv3Handler handler, I2PSocketManager mgr,
diff --git a/apps/sam/java/src/net/i2p/sam/SSLUtil.java b/apps/sam/java/src/net/i2p/sam/SSLUtil.java
index bf4ebf1e42..cf170f6ecf 100644
--- a/apps/sam/java/src/net/i2p/sam/SSLUtil.java
+++ b/apps/sam/java/src/net/i2p/sam/SSLUtil.java
@@ -138,7 +138,7 @@ class SSLUtil {
* Sets up the SSLContext and sets the socket factory.
* No option prefix allowed.
*
- * @throws IOException; GeneralSecurityExceptions are wrapped in IOE for convenience
+ * @throws IOException GeneralSecurityExceptions are wrapped in IOE for convenience
* @return factory, throws on all errors
*/
public static SSLServerSocketFactory initializeFactory(Properties opts) throws IOException {
diff --git a/apps/susidns/src/java/src/i2p/susi/dns/AddressBean.java b/apps/susidns/src/java/src/i2p/susi/dns/AddressBean.java
index 242ceea85e..d988d40afb 100644
--- a/apps/susidns/src/java/src/i2p/susi/dns/AddressBean.java
+++ b/apps/susidns/src/java/src/i2p/susi/dns/AddressBean.java
@@ -110,7 +110,7 @@ public class AddressBean
* Ref: java.net.IDN and RFC 3940
* @param host will be converted to lower case
* @return name converted to lower case and punycoded if necessary
- * @throws IAE on various errors or if IDN is needed but not available
+ * @throws IllegalArgumentException on various errors or if IDN is needed but not available
* @since 0.8.7
*/
static String toASCII(String host) throws IllegalArgumentException {
diff --git a/apps/susimail/src/src/i2p/susi/util/Folder.java b/apps/susimail/src/src/i2p/susi/util/Folder.java
index 54f647d87a..d2a44a6cd1 100644
--- a/apps/susimail/src/src/i2p/susi/util/Folder.java
+++ b/apps/susimail/src/src/i2p/susi/util/Folder.java
@@ -369,7 +369,7 @@ public class Folder%APPDATA%\I2P
/
to \
* Usage: FixWinPaths [WrapperConfigFile]
* @since 0.9.5
*/