Description
See https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html. JDK 7 introduced try-resource statement for better resource allocation and deallocation. We can also adopt this feature to AbstractDBStore.
See https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html. JDK 7 introduced try-resource statement for better resource allocation and deallocation. We can also adopt this feature to AbstractDBStore.