Update javadoc to specify non-null payload for datagrams

This commit is contained in:
zab
2013-01-04 18:46:00 +00:00
parent c7f1329c04
commit cea1b08a98
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ public final class I2PDatagramDissector {
* Load an I2P repliable datagram into the dissector. * Load an I2P repliable datagram into the dissector.
* Does NOT verify the signature. * 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 * @throws DataFormatException If there's an error in the datagram format
*/ */

View File

@@ -62,7 +62,7 @@ public final class I2PDatagramMaker {
/** /**
* Make a repliable I2P datagram containing the specified payload. * 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) { public byte[] makeI2PDatagram(byte[] payload) {
sxDGram.reset(); sxDGram.reset();