diff --git a/apps/streaming/java/src/net/i2p/client/streaming/impl/Connection.java b/apps/streaming/java/src/net/i2p/client/streaming/impl/Connection.java index c3bd202721..74deb2af98 100644 --- a/apps/streaming/java/src/net/i2p/client/streaming/impl/Connection.java +++ b/apps/streaming/java/src/net/i2p/client/streaming/impl/Connection.java @@ -1172,7 +1172,7 @@ public int getUnackedPacketsSent() { public long getCongestionWindowEnd() { return _congestionWindowEnd; } public void setCongestionWindowEnd(long endMsg) { _congestionWindowEnd = endMsg; } - /** @return the highest outbound packet we have recieved an ack for */ + /** @return the highest outbound packet we have received an ack for */ public long getHighestAckedThrough() { return _highestAckedThrough; } public long getLastActivityOn() { diff --git a/core/java/src/net/i2p/client/I2PClient.java b/core/java/src/net/i2p/client/I2PClient.java index 54c76d6828..831e4c905a 100644 --- a/core/java/src/net/i2p/client/I2PClient.java +++ b/core/java/src/net/i2p/client/I2PClient.java @@ -92,7 +92,7 @@ public interface I2PClient { * @param destKeyStream location from which to read the Destination, PrivateKey, and SigningPrivateKey from, * format is specified in {@link net.i2p.data.PrivateKeyFile PrivateKeyFile} * @param options set of options to configure the router with, if null will use System properties - * @return new session allowing a Destination to recieve all of its messages and send messages to any other Destination. + * @return new session allowing a Destination to receive all of its messages and send messages to any other Destination. */ public I2PSession createSession(InputStream destKeyStream, Properties options) throws I2PSessionException; diff --git a/core/java/src/net/i2p/client/impl/I2PSessionImpl.java b/core/java/src/net/i2p/client/impl/I2PSessionImpl.java index 85df4527a1..d5a9c2d128 100644 --- a/core/java/src/net/i2p/client/impl/I2PSessionImpl.java +++ b/core/java/src/net/i2p/client/impl/I2PSessionImpl.java @@ -921,7 +921,7 @@ protected static final Set createNewTags(int num) { *******/ /** - * Recieve a payload message and let the app know its available + * Receive a payload message and let the app know its available */ public void addNewMessage(MessagePayloadMessage msg) { Long mid = Long.valueOf(msg.getMessageId()); @@ -1044,7 +1044,7 @@ public void run() { /** * The I2CPMessageEventListener callback. - * Recieve notification of some I2CP message and handle it if possible. + * Receive notification of some I2CP message and handle it if possible. * * We route the message based on message type AND session ID. * @@ -1127,7 +1127,7 @@ public void messageReceived(I2CPMessageReader reader, I2CPMessage message) { /** * The I2CPMessageEventListener callback. - * Recieve notifiation of an error reading the I2CP stream. + * Receive notifiation of an error reading the I2CP stream. * As of 0.9.41, does NOT call sessionlistener.disconnected(), * the I2CPMessageReader will call disconnected() also. * @@ -1423,7 +1423,7 @@ private void locked_closeSocket() { /** * The I2CPMessageEventListener callback. - * Recieve notification that the I2CP connection was disconnected. + * Receive notification that the I2CP connection was disconnected. * Calls sessionlistener.disconnected() * @param reader unused */ diff --git a/core/java/src/net/i2p/client/impl/MessagePayloadMessageHandler.java b/core/java/src/net/i2p/client/impl/MessagePayloadMessageHandler.java index 47beb2101e..04bf8d342d 100644 --- a/core/java/src/net/i2p/client/impl/MessagePayloadMessageHandler.java +++ b/core/java/src/net/i2p/client/impl/MessagePayloadMessageHandler.java @@ -21,7 +21,7 @@ /** * Handle I2CP MessagePayloadMessages from the router delivering the contents * of a message by accepting it, decrypting the payload, adding it to the set of - * recieved messages, and telling the router that it has been recieved correctly. + * received messages, and telling the router that it has been received correctly. * * We don't really decrypt (no more end-to-end crypto) * diff --git a/router/java/src/net/i2p/router/client/ClientConnectionRunner.java b/router/java/src/net/i2p/router/client/ClientConnectionRunner.java index 98a87516b0..9951f2d388 100644 --- a/router/java/src/net/i2p/router/client/ClientConnectionRunner.java +++ b/router/java/src/net/i2p/router/client/ClientConnectionRunner.java @@ -91,7 +91,7 @@ class ClientConnectionRunner { protected I2CPMessageReader _reader; /** Used for all sessions, which must all have the same crypto keys */ private SessionKeyManager _sessionKeyManager; - /** Used for leaseSets sent to and recieved from this client */ + /** Used for leaseSets sent to and received from this client */ private FloodfillNetworkDatabaseFacade _floodfillNetworkDatabaseFacade; /** * This contains the last 10 MessageIds that have had their (non-ack) status diff --git a/router/java/src/net/i2p/router/message/OutboundCache.java b/router/java/src/net/i2p/router/message/OutboundCache.java index 09e4bd9c62..717de96329 100644 --- a/router/java/src/net/i2p/router/message/OutboundCache.java +++ b/router/java/src/net/i2p/router/message/OutboundCache.java @@ -97,7 +97,7 @@ public class OutboundCache { /** - * This cache is used to keep track of when we recieve a leaseSet from a router + * This cache is used to keep track of when we receive a leaseSet from a router * we are multihomed with, or otherwise are asked to store a valid routerInfo for * a destination which we also host. */ diff --git a/router/java/src/net/i2p/router/networkdb/HandleDatabaseLookupMessageJob.java b/router/java/src/net/i2p/router/networkdb/HandleDatabaseLookupMessageJob.java index fea3d0ca8f..1af3dfb887 100644 --- a/router/java/src/net/i2p/router/networkdb/HandleDatabaseLookupMessageJob.java +++ b/router/java/src/net/i2p/router/networkdb/HandleDatabaseLookupMessageJob.java @@ -124,7 +124,7 @@ public void runJob() { if (ls.getReceivedAsPublished()) { //* Answer anything that was stored to us directly. //(i.e. "received as published" - not the result of a query). - //* LeaseSets recieved over a client tunnel will be routed into subDbs. + //* LeaseSets received over a client tunnel will be routed into subDbs. // subDbs are responsible for publishing their "own" client LeaseSets. //* The "main" netDb can safely store it's own copies of a LeaseSet // belonging to a Local client, when it is published back to it. Therefore, diff --git a/router/java/src/net/i2p/router/networkdb/kademlia/FloodfillNetworkDatabaseSegmentor.java b/router/java/src/net/i2p/router/networkdb/kademlia/FloodfillNetworkDatabaseSegmentor.java index fe44e17126..a6dd9715d9 100644 --- a/router/java/src/net/i2p/router/networkdb/kademlia/FloodfillNetworkDatabaseSegmentor.java +++ b/router/java/src/net/i2p/router/networkdb/kademlia/FloodfillNetworkDatabaseSegmentor.java @@ -28,7 +28,7 @@ * And there are an unlimited number of "Client" netDbs. These sub-netDbs are * intended to contain only the information required to operate them, and as such * most of them are very small, containing only a few LeaseSets belonging to clients. - * Each one corresponds to a Destination which can recieve information from the + * Each one corresponds to a Destination which can receive information from the * netDb, and can be indexed either by it's hash or by it's base32 address. This index * is known as the 'dbid' or database id. *