Skip to content

Commit

Permalink
javadoc spelling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzi2p committed Oct 2, 2024
1 parent 5234e06 commit a5c1702
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion core/java/src/net/i2p/client/I2PClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
8 changes: 4 additions & 4 deletions core/java/src/net/i2p/client/impl/I2PSessionImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down Expand Up @@ -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.
*
Expand Down Expand Up @@ -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.
*
Expand Down Expand Up @@ -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
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion router/java/src/net/i2p/router/message/OutboundCache.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit a5c1702

Please sign in to comment.