HCOLL-167 removed trace code

This commit is contained in:
Rob Austin
2014-10-28 13:15:21 +00:00
parent f8a1872d32
commit 64d19bd359
2 changed files with 1 additions and 35 deletions
@@ -518,16 +518,6 @@ class StatelessChronicleMap<K, V> implements ChronicleMap<K, V>, Closeable {
assert size < Integer.MAX_VALUE;
LOG.info("resizing to=" + size);
LOG.info("bytes before position=" + bytes.position() +
", " +
"limit=" + bytes.limit() + ",capacity=" + bytes.capacity());
LOG.info("buffer before");
LOG.info("resize buffer to " + size + " bytes");
final ByteBuffer result = ByteBuffer.allocateDirect((int) size).order(ByteOrder.nativeOrder());
int bufferPosition = buffer.position();
@@ -538,9 +528,7 @@ class StatelessChronicleMap<K, V> implements ChronicleMap<K, V>, Closeable {
buffer.position(0);
buffer.limit((int) bytesPosition);
LOG.info("bytesPosition to=" + bytesPosition + ", buffer.position=" + buffer.position() +
", " +
"limit=" + buffer.limit() + ",capacity=" + buffer.capacity());
for (int i = 0; i < bytesPosition; i++) {
result.put(buffer.get());
}