HCOLL-134 ( release draft cut of the code so that I can test it across my network )

This commit is contained in:
Rob Austin
2014-09-26 15:09:44 +01:00
parent 6c567a33bd
commit 26a32c7c58
2 changed files with 12 additions and 1 deletions
@@ -396,10 +396,16 @@ class BytesExternalizableImpl implements BytesExternalizable {
private ATSDirectBitSet orBitSets(@NotNull final ATSDirectBitSet source,
@NotNull final ATSDirectBitSet destination) {
source.clear();
// merges the two bit-sets together via 'or'
for (int i = (int) source.nextSetBit(0); i > 0;
i = (int) source.nextSetBit(i + 1)) {
destination.set(i);
try {
destination.set(i);
} catch (IndexOutOfBoundsException e) {
e.printStackTrace();
}
}
return destination;