Javadoc fixes

This commit is contained in:
zzz
2019-02-06 12:48:33 +00:00
parent 19cb85a74d
commit b310c60188
3 changed files with 3 additions and 5 deletions

View File

@@ -61,7 +61,9 @@ public class I2PTunnelRunner extends I2PAppThread implements I2PSocket.SocketErr
private final Runnable onTimeout;
private final FailCallback _onFail;
private SuccessCallback _onSuccess;
// does not include initialI2PData
private long totalSent;
// does not include initialSocketData
private long totalReceived;
/**
@@ -79,9 +81,6 @@ public class I2PTunnelRunner extends I2PAppThread implements I2PSocket.SocketErr
* @since 0.9.39
*/
public interface SuccessCallback {
/**
* @param e may be null
*/
public void onSuccess();
}

View File

@@ -773,7 +773,7 @@ class Packet {
* Determine whether the signature on the data is valid.
*
* @param ctx Application context
* @param spk Signing key to verify with, ONLY if there is no FROM field in this packet.
* @param altSPK Signing key to verify with, ONLY if there is no FROM field in this packet.
* May be the SPK from a FROM field or offline sig field from a previous packet on this connection.
* Ignored if this packet contains a FROM option block.
* Null ok if none available.

View File

@@ -127,7 +127,6 @@ public class OutNetMessage implements CDPQEntry {
* Only useful if log level is INFO or DEBUG
*
* @param eventName what occurred
* @return how long this message has been 'in flight'
*/
public void timestamp(String eventName) {
if (_shouldTimestamp) {