HCOLL-134 ( release draft cut of the code so that I can test it across my network ) and commented out java 8 code in test so we can use java 7

This commit is contained in:
Rob Austin
2014-10-01 18:01:25 +01:00
parent 99549ce08e
commit 73bc6960f6
3 changed files with 6 additions and 5 deletions
@@ -412,7 +412,8 @@ class BytesExternalizableImpl implements BytesExternalizable {
Bytes bytes = allNodes.activeIdentifierBytes();
//bytes.position(0);
toString(allNodes.activeIdentifierBitSet(), "writing");
if (LOG.isDebugEnabled())
toString(allNodes.activeIdentifierBitSet(), "writing");
// we will store the size of the bitset
destination.writeUnsignedShort((int) bytes.remaining());
@@ -647,7 +648,7 @@ class BytesExternalizableImpl implements BytesExternalizable {
long size = BOOTSTRAP_BYTES.limit();
if (size < source.remaining())
if (size > source.remaining())
return null;
for (int i = 0; i < size; i++) {