]> WPIA git - gigi.git/commitdiff
chg: manage more resources explicitly
authorFelix Dörre <felix@dogcraft.de>
Tue, 7 Nov 2017 20:06:55 +0000 (21:06 +0100)
committerFelix Dörre <felix@dogcraft.de>
Tue, 7 Nov 2017 21:08:53 +0000 (22:08 +0100)
When a constructor that gets a resource fails, it might prevent the
resource from being closed. By giving the resource explicitly to the
try-with-resources, this is prevented.

Change-Id: I2f8a50773de71f699c00729b51048892a44033e6


No differences found