diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2018-01-10 16:30:28 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@gmail.com> | 2018-01-10 16:39:20 +0900 |
commit | 338d0a81bb29ffedaef83024db1b1f8026841af5 (patch) | |
tree | 7f3279d4ceb54342586899937a4239f6873bb712 /org.eclipse.jgit.test/org.eclipse.jgit.core--All-Tests (Java 8).launch | |
parent | d20363b114d11e183a4c9464ab0dc24061223f2e (diff) | |
download | jgit-338d0a81bb29ffedaef83024db1b1f8026841af5.tar.gz jgit-338d0a81bb29ffedaef83024db1b1f8026841af5.zip |
RefDirectory#hasLooseRef: Fix stream resource leak reported by error-prone
Error-prone reports:
[StreamResourceLeak] Streams that encapsulate a closeable resource
should be closed using try-with-resources
Change-Id: I86154fba2b896723feaecf8991ed3c8e96ea2499
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.test/org.eclipse.jgit.core--All-Tests (Java 8).launch')
0 files changed, 0 insertions, 0 deletions