mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-134 ( release draft cut of the code so that I can test it across my network )
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user