javadoc fixes part 7 (ticket #1894)

This commit is contained in:
zzz
2017-01-26 21:55:04 +00:00
parent d196047382
commit b970912cc1
10 changed files with 16 additions and 16 deletions

View File

@ -336,7 +336,7 @@ import java.text.MessageFormat;
* break;
* }
* //
* for (int i = g.getOptind(); i < argv.length ; i++)
* for (int i = g.getOptind(); i &lt; argv.length ; i++)
* System.out.println("Non option argv element: " + argv[i] + "\n");
* </pre>
* <p>

View File

@ -534,7 +534,7 @@ public abstract class NamingService {
* See also lookup(Hash, int).
*
* @param hostname must be {52 chars}.b32.i2p
* @param timeout in seconds; <= 0 means use router default
* @param timeout in seconds; &lt;= 0 means use router default
* @return dest or null
* @since 0.8.7
*/
@ -546,7 +546,7 @@ public abstract class NamingService {
* Same as lookupBase32() but with the SHA256 Hash precalculated
* This implementation returns null.
*
* @param timeout in seconds; <= 0 means use router default
* @param timeout in seconds; &lt;= 0 means use router default
* @return dest or null
* @since 0.8.7
*/

View File

@ -429,11 +429,11 @@ public final class ElGamalAESEngine {
*
* In the router, we always use garlic messages. A garlic message with a single
* clove and zero data is about 84 bytes, so that's 123 bytes minimum. So any paddingSize
* <= 128 is a no-op as every message will be at least 128 bytes
* &lt;= 128 is a no-op as every message will be at least 128 bytes
* (Streaming, if used, adds more overhead).
*
* Outside the router, with a client using its own message format, the minimum size
* is 48, so any paddingSize <= 48 is a no-op.
* is 48, so any paddingSize &lt;= 48 is a no-op.
*
* Not included in the minimum is a 32-byte session tag for an existing session,
* or a 514-byte ElGamal block and several 32-byte session tags for a new session.

View File

@ -862,7 +862,7 @@ public class GroupElement implements Serializable {
* Constant time.
* <p>
* Preconditions: (TODO: Check this applies here)
* a[31] <= 127
* a[31] &lt;= 127
* @param a = a[0]+256*a[1]+...+256^31 a[31]
* @return the GroupElement
*/

View File

@ -116,7 +116,7 @@ public class Certificate extends DataStructureImpl {
}
/**
* @throws IllegalArgumentException if type < 0
* @throws IllegalArgumentException if type &lt; 0
*/
public Certificate(int type, byte[] payload) {
if (type < 0)
@ -131,7 +131,7 @@ public class Certificate extends DataStructureImpl {
}
/**
* @throws IllegalArgumentException if type < 0
* @throws IllegalArgumentException if type &lt; 0
* @throws IllegalStateException if already set
*/
public void setCertificateType(int type) {

View File

@ -253,7 +253,7 @@ public class PrivateKeyFile {
}
/**
* @param padding null OK, must be non-null if spubkey length < 128
* @param padding null OK, must be non-null if spubkey length &lt; 128
* @throws IllegalArgumentException on mismatch of spubkey and spk types
* @since 0.9.16
*/

View File

@ -607,9 +607,9 @@ public class EepGet {
/**
* Blocking fetch.
*
* @param fetchHeaderTimeout <= 0 for none (proxy will timeout if none, none isn't recommended if no proxy)
* @param totalTimeout <= 0 for default none
* @param inactivityTimeout <= 0 for default 60 sec
* @param fetchHeaderTimeout &lt;= 0 for none (proxy will timeout if none, none isn't recommended if no proxy)
* @param totalTimeout &lt;= 0 for default none
* @param inactivityTimeout &lt;= 0 for default 60 sec
*/
public boolean fetch(long fetchHeaderTimeout, long totalTimeout, long inactivityTimeout) {
_fetchHeaderTimeout = (int) Math.min(fetchHeaderTimeout, Integer.MAX_VALUE);