Skip to content

Commit ea411ff

Browse files
committed
GH-812: Remove redundant union capacity comment
1 parent 3815f20 commit ea411ff

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

vector/src/main/java/org/apache/arrow/vector/util/VectorAppender.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,6 @@ public ValueVector visit(UnionVector deltaVector, Void value) {
601601
UnionVector targetUnionVector = (UnionVector) targetVector;
602602
int newValueCount = targetVector.getValueCount() + deltaVector.getValueCount();
603603

604-
// Child vectors are created and expanded below; an empty union has zero value capacity.
605604
while (targetUnionVector.getTypeBuffer().capacity() / UnionVector.TYPE_WIDTH < newValueCount) {
606605
targetUnionVector.reAlloc();
607606
}

0 commit comments

Comments
 (0)