]> source.dussan.org Git - jgit.git/commit
[spotbugs] DfsReftableDatabase: extract lock to local variable 75/173375/7
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 4 Dec 2020 10:12:27 +0000 (11:12 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 22 Dec 2020 09:52:59 +0000 (10:52 +0100)
commit39cbc574d177373411052923db25af22f96f25e0
treeb34696c7c41397f65e8f7ae7cd6804e156afba1a
parent1fd0a49ce05c158e9754a5d9ac0cfbe56f6b65bb
[spotbugs] DfsReftableDatabase: extract lock to local variable

This fixes UL_UNRELEASED_LOCK_EXCEPTION_PATH raised by spotbugs in
#DfsReftableDatabase and #clearCache.

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