forked from I2P_Developers/i2p.i2p
Findbugs: More findbugs fixes. Including but not limited to: null check fixes and some synchronization
This commit is contained in:
@@ -93,7 +93,8 @@ class ConnectionDataReceiver implements MessageOutputStream.DataReceiver {
|
||||
|
||||
if (doSend) {
|
||||
PacketLocal packet = send(buf, off, size);
|
||||
if (packet == null) return _dummyStatus;
|
||||
// this shouldn't be null
|
||||
//if (packet == null) return _dummyStatus;
|
||||
|
||||
//dont wait for non-acks
|
||||
if ( (packet.getSequenceNum() > 0) || (packet.isFlagSet(Packet.FLAG_SYNCHRONIZE)) )
|
||||
|
Reference in New Issue
Block a user