Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed to try with resources #348

Merged
merged 2 commits into from
Jan 23, 2019
Merged

Changed to try with resources #348

merged 2 commits into from
Jan 23, 2019

Conversation

Charliocat
Copy link
Contributor

I was testing the library and I noticed that the stream when reading the directory was not closed, and I couldn't delete the directory which I was using.
So I fixed it changing to read the directory using the try with resources.

@gnodet gnodet merged commit 8de0b68 into jline:master Jan 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants