javadoc fixes part 8 (ticket #1894)

This commit is contained in:
zzz
2017-01-27 01:36:26 +00:00
parent b970912cc1
commit 5db89d8743
9 changed files with 10 additions and 7 deletions

View File

@@ -1298,7 +1298,7 @@ public class KademliaNetworkDatabaseFacade extends NetworkDatabaseFacade {
/**
* Is the key in the negative lookup cache?
*&
*
* @param key for Destinations or RouterIdentities
* @since 0.9.4 moved from FNDF to KNDF in 0.9.16
*/

View File

@@ -153,6 +153,7 @@ class SearchJob extends JobImpl {
}
***/
/** timeout */
static final int PER_FLOODFILL_PEER_TIMEOUT = 10*1000;
static final long MIN_TIMEOUT = 2500;

View File

@@ -79,6 +79,7 @@ class StoreState {
}
****/
/** getFailed */
public Set<Hash> getFailed() {
synchronized (_failedPeers) {
return new HashSet<Hash>(_failedPeers);

View File

@@ -197,7 +197,7 @@ public class LoadClientAppsJob extends JobImpl {
* @param clientName can be null
* @param args can be null
* @param cl can be null
* @throws just about anything, caller would be wise to catch Throwable
* @throws Exception just about anything, caller would be wise to catch Throwable
* @since 0.7.14
*/
public static void runClientInline(String className, String clientName, String args[],

View File

@@ -41,8 +41,6 @@ import net.i2p.util.SystemVersion;
* After migration, the router will run using the new directory.
* The wrapper, however, must be stopped and restarted from the new script - until then,
* it will continue to write to wrapper.log* in the old directory.
*
* @param whether to copy all data over from an existing install
*/
public class WorkingDir {
@@ -63,6 +61,8 @@ public class WorkingDir {
* Caller should store the return value for future reference.
*
* This also redirects stdout and stderr to a wrapper.log file if there is no wrapper present.
*
* @param migrateOldConfig whether to copy all data over from an existing install
*/
public static String getWorkingDir(Properties envProps, boolean migrateOldConfig) {
String dir = null;

View File

@@ -51,7 +51,7 @@ import org.freenetproject.ForwardPortStatus;
*
* ==================
*
* This plugin implements UP&P support on a Freenet node.
* This plugin implements UP&amp;P support on a Freenet node.
*
* @author Florent Daigni&egrave;re &lt;nextgens@freenetproject.org&gt;
*

View File

@@ -916,6 +916,7 @@ public class TunnelDispatcher implements Service {
}
******/
/** startup */
public synchronized void startup() {
// Note that we only use the validator for participants and OBEPs, not IBGWs, so
// this BW estimate will be high by about 33% assuming 2-hop tunnels average

View File

@@ -25,7 +25,7 @@ import net.i2p.util.SystemVersion;
* Here is a sample on how to use the code:
*
<pre>
for(Iterator<Object> iter = new RandomIterator<Object>(myObjList); iter.hasNext();){
for(Iterator&lt;Object&gt; iter = new RandomIterator&lt;Object&gt;(myObjList); iter.hasNext();){
Object o = iter.next();
if(someCondition(o) )
return o; // iteration stopped early

View File

@@ -27,7 +27,7 @@ import java.util.concurrent.LinkedBlockingQueue;
* This class is designed to be thread-safe, but this has not been
* exhaustively tested.
*
* @author < A HREF="mailto:jddixon@users.sourceforge.net">Jim Dixon</A>
* @author <A HREF="mailto:jddixon@users.sourceforge.net">Jim Dixon</A>
*
* BloomSHA1.java and KeySelector.java are BSD licensed from the xlattice
* app - http://xlattice.sourceforge.net/