Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Here VariableLengthVectors.getMutator().setSafe() calls:
offsetVector.getAccessor().get(index)
however, index 0 of offsetVector (which is always 0) is not initialized by VariableLengthVectors.
As a result, user of the VariableLengthVectors needs to manually initialize
the class by calling:
VariableLengthVectors.getOffsetVector().getMutator().setSafe(0, 0)
I wonder if this is necessary or should VariableLengthVectors initialize this for the user