forked from I2P_Developers/i2p.i2p
Update javadoc to specify non-null payload for datagrams
This commit is contained in:
@ -55,7 +55,7 @@ public final class I2PDatagramDissector {
|
||||
* Load an I2P repliable datagram into the dissector.
|
||||
* Does NOT verify the signature.
|
||||
*
|
||||
* @param dgram I2P repliable datagram to be loader
|
||||
* @param non-null dgram I2P repliable datagram to be loader
|
||||
*
|
||||
* @throws DataFormatException If there's an error in the datagram format
|
||||
*/
|
||||
|
@ -62,7 +62,7 @@ public final class I2PDatagramMaker {
|
||||
/**
|
||||
* Make a repliable I2P datagram containing the specified payload.
|
||||
*
|
||||
* @param payload Bytes to be contained in the I2P datagram.
|
||||
* @param non-null payload Bytes to be contained in the I2P datagram.
|
||||
*/
|
||||
public byte[] makeI2PDatagram(byte[] payload) {
|
||||
sxDGram.reset();
|
||||
|
Reference in New Issue
Block a user