Skip to content

Commit 91e1b6a

Browse files
committed
GH-586: Use only maps in the testFixedSizeBinaryWriter
1 parent ba7e938 commit 91e1b6a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1397,7 +1397,10 @@ public void testFixedSizeBinaryWriter() {
13971397
writer.setPosition(0); // optional
13981398
writer.startMap();
13991399
writer.startEntry();
1400-
writer.key().fixedSizeBinary(holder1.byteWidth).write(holder1); // need to initialize with byteWidth - NPE otherwise
1400+
writer
1401+
.key()
1402+
.fixedSizeBinary(holder1.byteWidth)
1403+
.write(holder1); // need to initialize with byteWidth - NPE otherwise
14011404
writer.value().fixedSizeBinary(holder2.byteWidth).write(holder2);
14021405
writer.endEntry();
14031406
holder1.buffer.close();

0 commit comments

Comments
 (0)