]> source.dussan.org Git - jgit.git/commit
Simplify locking of FileRepository's index snapshot 35/124235/3
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 8 Jun 2018 07:50:39 +0000 (09:50 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Fri, 8 Jun 2018 07:54:38 +0000 (09:54 +0200)
commit1cb8c5d7fe2d88c127bafcff3800b91e5ab5eda4
treeb8ad2f21732f3f02b34f5490326ba8e13d59cef6
parentb782518caedc7b20e3d568f78a5a1d2b0aa17424
Simplify locking of FileRepository's index snapshot

synchronize on simple Object monitor instead of using ReentrantLock

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