]> source.dussan.org Git - jgit.git/commit
[spotbugs] Don't use class from java.util.concurrent for locking 27/173427/6
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 4 Dec 2020 23:39:09 +0000 (00:39 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 22 Dec 2020 09:53:01 +0000 (10:53 +0100)
commit13e0ffbd3d87fba58e0739056810c51cb3e93b9b
treeb1fbaaf84465b8cfd20a216da28cf141a4cbd576
parent50f0347ea3a17aa754dfb139acfc2d57ea488fa4
[spotbugs] Don't use class from java.util.concurrent for locking

Use a dedicated Lock object to lock the scheduler in
RepositoryCache#configureEviction to fix spotbugs warning
JLM_JSR166_UTILCONCURRENT_MONITORENTER.

Change-Id: I003dcf0ed1a0a3f4eea5d8a2f51a07473d28a928
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/lib/RepositoryCache.java