Use try-with-resources in TestUtils 55/99355/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 18 Jan 2022 10:35:08 +0000 (11:35 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 18 Jan 2022 10:35:40 +0000 (11:35 +0100)
commite201931864746dc2312aad39571bebc612686e68
tree3af58036f8be3ba2317129221db33cda2ff7ede6
parent79e84864626ae05287ae82c2edb9fe45f51399fc
Use try-with-resources in TestUtils

Eclipse is pointing out we should be managing resources properly, fix
that.

Change-Id: I34e8040bca7c5003e4830134ccc37d0cd44d2387
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
codec/yang-data-codec-gson/src/test/java/org/opendaylight/yangtools/yang/data/codec/gson/TestUtils.java