]> source.dussan.org Git - jgit.git/commit
[spotbugs] FileReftableDatabase: extract lock to local variable 76/173376/7
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 4 Dec 2020 10:15:35 +0000 (11:15 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 22 Dec 2020 09:52:59 +0000 (10:52 +0100)
commitfa0e77e8f92d0710caf75085af1e6fb50b7d942d
tree25d926c949eabb8550dde3d31310b7543b51ff9f
parent39cbc574d177373411052923db25af22f96f25e0
[spotbugs] FileReftableDatabase: extract lock to local variable

This fixes UL_UNRELEASED_LOCK_EXCEPTION_PATH raised by spotbugs in
#compactFully.

Change-Id: I370578ad9a027c5c9709d60a1dfafdac0cfca908
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileReftableDatabase.java