Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Not A Problem
-
0.10.0
-
None
-
None
Description
In the constructor of BytesRefArrayWritable, ensureCapacity(capacity) is called, but "valid" has not been adjusted accordingly. After a new BytesRefArrayWritable has been created with a initial capacity of "x", if resetValid() has not been called explicitly, the size returned is still 0.