Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Current implementation:
public boolean copyFromSafe(int inIndex, int outIndex, BitVector from) { if (outIndex >= this.getValueCapacity()) { decrementAllocationMonitor(); return false; } copyFrom(inIndex, outIndex, from); return true; }
doesn't match the expectation from "safe" methods. The method should try to re-allocate if it's running out of space instead of returning false