lujiefsi opened a new pull request #17468:
URL: https://github.com/apache/flink/pull/17468


   Files.list will open dir and we should close it
   
   see jdk:
   
   the
   
   {@code try}-with-resources construct should be used to ensure that the
   stream's {@link Stream#close close} method is invoked after the stream
   operations are completed.


-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to