lidavidm commented on code in PR #38371:
URL: https://github.com/apache/arrow/pull/38371#discussion_r1425557507


##########
java/vector/src/main/java/org/apache/arrow/vector/ipc/ArrowFileWriter.java:
##########
@@ -76,15 +74,8 @@ public ArrowFileWriter(VectorSchemaRoot root, 
DictionaryProvider provider, Writa
   }
 
   public ArrowFileWriter(VectorSchemaRoot root, DictionaryProvider provider, 
WritableByteChannel out,
-                         Map<String, String> metaData, IpcOption option, 
CompressionCodec.Factory compressionFactory,
-                         CompressionUtil.CodecType codecType) {
-    this(root, provider, out, metaData, option, compressionFactory, codecType, 
Optional.empty());
-  }
-
-  public ArrowFileWriter(VectorSchemaRoot root, DictionaryProvider provider, 
WritableByteChannel out,
-                         Map<String, String> metaData, IpcOption option, 
CompressionCodec.Factory compressionFactory,
-                         CompressionUtil.CodecType codecType, 
Optional<Integer> compressionLevel) {
-    super(root, provider, out, option, compressionFactory, codecType, 
compressionLevel);
+      Map<String, String> metaData, IpcOption option, CompressionCodec codec) {

Review Comment:
   You can delegate constructors without removing public ones (which breaks 
API).



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to