emkornfield commented on a change in pull request #9053: URL: https://github.com/apache/arrow/pull/9053#discussion_r551601013
########## File path: java/flight/flight-core/src/test/java/org/apache/arrow/flight/TestMetadataVersion.java ########## @@ -56,9 +56,8 @@ public static void setUpClass() { schema = new Schema(Collections.singletonList(Field.nullable("foo", new ArrowType.Int(32, true)))); unionSchema = new Schema( Collections.singletonList(Field.nullable("union", new ArrowType.Union(UnionMode.Dense, new int[]{0})))); - optionV4 = new IpcOption(); - optionV4.metadataVersion = MetadataVersion.V4; - optionV5 = new IpcOption(); + optionV4 = new IpcOption(false, MetadataVersion.V4); Review comment: please comment the literal. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org