Clean up GuavaSchemaSourceCacheTest 37/99437/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 25 Jan 2022 15:49:50 +0000 (16:49 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 25 Jan 2022 15:49:50 +0000 (16:49 +0100)
commit10119a4a7f7522eb8e18a5635e89733651821126
treebc7aa5274a0ea56d46313bec3d206dee78ddf82f
parent518d5b5f0c80a892ca36ab33bad8d9fe8a7b4730
Clean up GuavaSchemaSourceCacheTest

This is a rather ancient test, clean it up with try-with-resources
block plus a few other niceties.

Change-Id: I1965446d501ab5ddb57657efbd6b2e242fdad2b6
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-repo-spi/src/test/java/org/opendaylight/yangtools/yang/model/repo/spi/GuavaSchemaSourceCacheTest.java