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

Unreleased Resource: Streams #94

Open
QiAnXinCodeSafe opened this issue Sep 22, 2020 · 1 comment
Open

Unreleased Resource: Streams #94

QiAnXinCodeSafe opened this issue Sep 22, 2020 · 1 comment

Comments

@QiAnXinCodeSafe
Copy link

BufferedInputStream bis = new BufferedInputStream(new FileInputStream(file));

The program can potentially fail to release a system resource.

@miklossy
Copy link
Contributor

miklossy commented Oct 1, 2020

@QiAnXinCodeSafe : Thanks for reporting the issue!

Would be nice if you could come up with a Pull Request fixing the problem.

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

No branches or pull requests

2 participants