mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-230 -corrected assert
This commit is contained in:
@@ -1181,9 +1181,8 @@ final class TcpReplicator extends AbstractChannelReplicator implements Closeable
|
||||
// state is used for both heartbeat and stateless
|
||||
state = out.readByte();
|
||||
sizeInBytes = out.readInt();
|
||||
//System.out.println("received size=" + sizeInBytes);
|
||||
// System.out.println("......sizeInBytes=>" + sizeInBytes);
|
||||
assert sizeInBytes > 0;
|
||||
|
||||
assert sizeInBytes >= 0;
|
||||
|
||||
// if the buffer is too small to read this payload we will have to grow the
|
||||
// size of the buffer
|
||||
|
||||
Reference in New Issue
Block a user