Closed jblarriviere closed 1 year ago
Hello and thanks for the PR! The current code uses the try-with-resources syntax: https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html
so the Cursor should be closed after using it. Do you have a scenario when you think the current code doesn't do that?
Thanks 🙂
Hello! Thanks for your answer
My bad, I wasn't aware that this syntax handled the closing.
I don't see any reason it would not do so, I'll close this PR 🙂
Summary
getMetadata
relies on a Cursor that needs to be closed after using itTest Plan
What's required for testing (prerequisites)?
NA
What are the steps to reproduce (after prerequisites)?
NA
Compatibility
Checklist
README.md