Skip to content

Commit 474c91c

Browse files
lidavidmCopilot
andauthored
Change offset value to Integer.MAX_VALUE
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 7c635f4 commit 474c91c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vector/src/test/java/org/apache/arrow/vector/TestVariableWidthViewVector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2928,7 +2928,7 @@ public void testValidateInvalidOffsets() {
29282928
vector.allocateNew(16, 1);
29292929
vector.allocateOrGetLastDataBuffer(8);
29302930
var offsets = vector.getDataBuffer();
2931-
offsets.setInt(0, 64);
2931+
offsets.setInt(0, Integer.MAX_VALUE);
29322932
offsets.setInt(4, 0);
29332933
offsets.setInt(8, 0);
29342934
offsets.setInt(12, 1024);

0 commit comments

Comments
 (0)