mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
TODO fix possible bug
This commit is contained in:
@@ -55,6 +55,7 @@ class DirectBytesBuffer
|
||||
}
|
||||
|
||||
Bytes obtain(long maxSize, boolean boundsChecking) {
|
||||
// TODO return bounds checking
|
||||
DirectBytes buf;
|
||||
if ((buf = buffer) != null) {
|
||||
if (maxSize <= buf.capacity()) {
|
||||
|
||||
Reference in New Issue
Block a user