Add auto-closeable bucket wrapper and use try-with-resources
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 6 Jan 2017 19:26:04 +0000 (20:26 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 6 Jan 2017 19:26:04 +0000 (20:26 +0100)
commite6eb262fba58e7d1264e9ee8146353eaa0a86716
tree78151d192555e33f2c8297847950f67e6c6b615b
parent23202a30c41448d317a34ef87210bc236030ff89
Add auto-closeable bucket wrapper and use try-with-resources
src/main/java/net/pterodactylus/sone/web/page/PageToadlet.java
src/main/kotlin/net/pterodactylus/sone/utils/AutoCloseableBucket.kt [new file with mode: 0644]
src/test/kotlin/net/pterodactylus/sone/utils/AutoCloseableBucketTest.kt [new file with mode: 0644]