Author: j16sdiz
Date: 2008-09-08 11:57:03 +0000 (Mon, 08 Sep 2008)
New Revision: 22556
Modified:
trunk/freenet/src/freenet/crypt/DiffieHellman.java
trunk/freenet/src/freenet/node/NetworkIDManager.java
trunk/freenet/src/freenet/support/Fields.java
Log:
typo
Modified: trunk/freenet/src/freenet/crypt/DiffieHellman.java
===================================================================
--- trunk/freenet/src/freenet/crypt/DiffieHellman.java 2008-09-08 11:56:38 UTC
(rev 22555)
+++ trunk/freenet/src/freenet/crypt/DiffieHellman.java 2008-09-08 11:57:03 UTC
(rev 22556)
@@ -87,7 +87,7 @@
precalcThread.start();
}
- /** Will ask the precalc thread to refill the buffer if neccessary */
+ /** Will ask the precalc thread to refill the buffer if necessary */
private static void askRefill() {
// If the buffer size is below the threshold then wake the
precalc
// thread
Modified: trunk/freenet/src/freenet/node/NetworkIDManager.java
===================================================================
--- trunk/freenet/src/freenet/node/NetworkIDManager.java 2008-09-08
11:56:38 UTC (rev 22555)
+++ trunk/freenet/src/freenet/node/NetworkIDManager.java 2008-09-08
11:57:03 UTC (rev 22556)
@@ -880,7 +880,7 @@
As a side effect, unanimous is set if there is only one
network id for all peers in this group.
@param probabilistic if true, may return any id from the set
with increased probability towards the greater consensus.
- @todo should be explict or weighted towards most-successful
(not neccesarily just 'consensus')
+ @todo should be explict or weighted towards most-successful
(not necessarily just 'consensus')
*/
int getConsensus(boolean probabilistic) {
HashMap h=new HashMap();
Modified: trunk/freenet/src/freenet/support/Fields.java
===================================================================
--- trunk/freenet/src/freenet/support/Fields.java 2008-09-08 11:56:38 UTC
(rev 22555)
+++ trunk/freenet/src/freenet/support/Fields.java 2008-09-08 11:57:03 UTC
(rev 22556)
@@ -76,7 +76,7 @@
* input is nonnegative unless there is a preceding minus sign. This
method
* reads the input as twos complement instead, so if the input is 8
bytes
* long, it will correctly restore a negative long produced by
- * Long.toHexString() but not neccesarily one produced by
+ * Long.toHexString() but not necessarily one produced by
* Long.toString(x,16) since that method will produce a string like
'-FF'
* for negative longs values.
*
@@ -109,7 +109,7 @@
* input is nonnegative unless there is a preceding minus sign. This
method
* reads the input as twos complement instead, so if the input is 8
bytes
* long, it will correctly restore a negative int produced by
- * Integer.toHexString() but not neccesarily one produced by
+ * Integer.toHexString() but not necessarily one produced by
* Integer.toString(x,16) since that method will produce a string like
* '-FF' for negative integer values.
*