github-code-scanning[bot] commented on code in PR #14834:
URL: https://github.com/apache/druid/pull/14834#discussion_r1304848507


##########
extensions-core/s3-extensions/src/main/java/org/apache/druid/storage/s3/output/RetryableS3OutputStream.java:
##########
@@ -315,32 +311,41 @@
   private static class Chunk implements Closeable
   {
     private final int id;
-    private final File file;
+    // private final File file;
     private final CountingOutputStream outputStream;
+    private final ByteArrayOutputStream baos;
     private boolean closed;
 
-    private Chunk(int id, File file) throws FileNotFoundException
+    private Chunk(int id, File file, long chunkSize) throws 
FileNotFoundException

Review Comment:
   ## Useless parameter
   
   The parameter 'file' is never used.
   
   [Show more 
details](https://github.com/apache/druid/security/code-scanning/5733)



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to