Skip to content

Commit e84f8b6

Browse files
committed
fix format issues
1 parent a53a049 commit e84f8b6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

vector/src/main/java/org/apache/arrow/vector/BaseVariableWidthVector.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -571,8 +571,8 @@ public void reallocDataBuffer(long desiredAllocSize) {
571571
return;
572572
}
573573

574-
final long newAllocationSize = Math.min(CommonUtil.nextPowerOfTwo(desiredAllocSize),
575-
MAX_BUFFER_SIZE);
574+
final long newAllocationSize =
575+
Math.min(CommonUtil.nextPowerOfTwo(desiredAllocSize), MAX_BUFFER_SIZE);
576576
assert newAllocationSize >= 1;
577577

578578
if (newAllocationSize < desiredAllocSize) {

vector/src/main/java/org/apache/arrow/vector/BaseVariableWidthViewVector.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -590,8 +590,8 @@ public void reallocViewDataBuffer(long desiredAllocSize) {
590590
return;
591591
}
592592

593-
final long newAllocationSize = Math.min(CommonUtil.nextPowerOfTwo(desiredAllocSize),
594-
MAX_BUFFER_SIZE);
593+
final long newAllocationSize =
594+
Math.min(CommonUtil.nextPowerOfTwo(desiredAllocSize), MAX_BUFFER_SIZE);
595595
assert newAllocationSize >= 1;
596596

597597
if (newAllocationSize < desiredAllocSize) {

0 commit comments

Comments
 (0)