diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2017-01-27 19:33:20 +0900 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2017-01-28 19:16:48 +0100 |
commit | ac6353e9e5fbcf0c1a298990505674077ff09a22 (patch) | |
tree | cd8a4f2f7ac8c8e7b7901ab49c03e4ed15c0bdf0 /org.eclipse.jgit.http.server | |
parent | 25b14084c9e0ff0cc9332c49feb2aac01cab6400 (diff) | |
download | jgit-ac6353e9e5fbcf0c1a298990505674077ff09a22.tar.gz jgit-ac6353e9e5fbcf0c1a298990505674077ff09a22.zip |
RefUpdateTest: Don't call createBareRepository in try-with-resource
createBareRepository adds the created repo to the list of repos to be
closed in the superclass's teardown. Wrapping it in try-with-resource
causes it to be closed too many times, resulting in a corrupt use
count.
Change-Id: I4c70630bf6008544324dda453deb141f4f89472c
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.http.server')
0 files changed, 0 insertions, 0 deletions