Commit 1480f12
committed
MINOR: [Java] Make StructVector.reallocValidityBuffer protected
[Java] Make StructVector.reallocValidityBuffer protected
Changes the access modifier of reallocValidityBuffer from package-private to protected.
This allows subclasses to reallocate the validity buffer independently of the struct elements. Previously,
expanding the validity buffer required a full vector reallocation, which could cause an OversizedAllocationException
if the child data vectors were already near their capacity.1 parent 77e62d3 commit 1480f12
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
528 | 528 | | |
529 | 529 | | |
530 | 530 | | |
531 | | - | |
| 531 | + | |
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
| |||
0 commit comments