forked from I2P_Developers/i2p.i2p
findbugs core,client,crypto,data,stat,i2np
This commit is contained in:
@ -160,7 +160,7 @@ public class TunnelDataMessage extends I2NPMessageImpl {
|
||||
/** write the message body to the output array, starting at the given index */
|
||||
protected int writeMessageBody(byte out[], int curIndex) throws I2NPMessageException {
|
||||
if ( (_tunnelId <= 0) || (_data == null) )
|
||||
throw new I2NPMessageException("Not enough data to write out (id=" + _tunnelId + " data=" + _data + ")");
|
||||
throw new I2NPMessageException("Not enough data to write out (id=" + _tunnelId + ")");
|
||||
if (_data.length <= 0)
|
||||
throw new I2NPMessageException("Not enough data to write out (data.length=" + _data.length + ")");
|
||||
|
||||
|
Reference in New Issue
Block a user