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

Make FeatureLibrary AutoCloseable #85

Closed
tordanik opened this issue Mar 6, 2023 · 0 comments
Closed

Make FeatureLibrary AutoCloseable #85

tordanik opened this issue Mar 6, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@tordanik
Copy link

tordanik commented Mar 6, 2023

Having FeatureLibrary implement Closeable or AutoCloseable would allow conveniently using it in the header of a try-with-resources block. It might also cause certain IDEs to warn when you forget to close it (as happened with my first implementation).

@clarisma clarisma added the enhancement New feature or request label Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants