You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by GitBox <gi...@apache.org> on 2021/10/14 06:08:11 UTC
[GitHub] [cassandra] lujiefsi opened a new pull request #1269: CASSANDRA-17041 : fix resource leak due to Files.list
lujiefsi opened a new pull request #1269:
URL: https://github.com/apache/cassandra/pull/1269
Files.list will opend 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: pr-unsubscribe@cassandra.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org
[GitHub] [cassandra] lujiefsi closed pull request #1269: CASSANDRA-17041 : fix resource leak due to Files.list
Posted by GitBox <gi...@apache.org>.
lujiefsi closed pull request #1269:
URL: https://github.com/apache/cassandra/pull/1269
--
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: pr-unsubscribe@cassandra.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org