zhangshenghang commented on code in PR #7501:
URL: https://github.com/apache/seatunnel/pull/7501#discussion_r1732814942


##########
seatunnel-api/src/main/java/org/apache/seatunnel/api/sink/multitablesink/MultiTableSinkWriter.java:
##########
@@ -267,26 +276,32 @@ public void abortPrepare() {
 
     @Override
     public void close() throws IOException {
-        Throwable firstE = null;
+        final Throwable[] firstE = {null};

Review Comment:
   @Hisoka-X 
   
    The lambda expression uses constants, so it is modified to an array . 
   <img width="574" alt="image" 
src="https://github.com/user-attachments/assets/b691760d-a143-4e9f-a288-6f683e21a792";>
   



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