Copilot commented on code in PR #1985:
URL: https://github.com/apache/fluss/pull/1985#discussion_r2536102560


##########
fluss-lake/fluss-lake-lance/src/main/java/org/apache/fluss/lake/lance/tiering/LanceArrowWriter.java:
##########
@@ -38,7 +38,7 @@ public class LanceArrowWriter extends ArrowReader {
     private final RowType rowType;
     private final int batchSize;
 
-    private volatile boolean finished;
+    private volatile boolean finished = false;

Review Comment:
   [nitpick] The explicit initialization `= false` is redundant in Java. 
Boolean instance fields are automatically initialized to `false` by default. 
While this doesn't cause any issues, it's unnecessary and can be removed for 
cleaner code.
   ```suggestion
       private volatile boolean finished;
   ```



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