]> source.dussan.org Git - jgit.git/commit
Shut up findbugs/protect the shutdownHook in LocalDiskRepositoryTestcase 65/1665/2
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Thu, 9 Sep 2010 22:38:58 +0000 (00:38 +0200)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Tue, 28 Sep 2010 21:27:04 +0000 (23:27 +0200)
commit96f45e35f31aee24ac60625801e1085f15cd79f2
tree9431354ead761abc37e4927005c711da6511389c
parente5c217bcf3edd34c2999fa665632780cce5d6177
Shut up findbugs/protect the shutdownHook in LocalDiskRepositoryTestcase

Singleton references should be protected from multiple threads. As far as we
know this cannot happen as JUnit is used today since we currently don't run
tests in parallel, but now this code will not prevent anyone.

Change-Id: I29109344d2e8025fa2a3ccaf7c2c16469544ce05
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/LocalDiskRepositoryTestCase.java