]> source.dussan.org Git - jgit.git/commit
LocalDiskRepositoryTestCase: Only add to toClose through access method 63/89663/2
authorDavid Pursehouse <david.pursehouse@gmail.com>
Fri, 27 Jan 2017 03:05:12 +0000 (12:05 +0900)
committerMatthias Sohn <matthias.sohn@sap.com>
Sat, 28 Jan 2017 16:46:27 +0000 (17:46 +0100)
commit5d0ca36d39fda934ca3304f2227afd4f93700393
tree6903a7c754e646cfd30d627f65b2494ba2d36441
parenta9a3af4af766830a717b0a4239b4d17b42d6ad51
LocalDiskRepositoryTestCase: Only add to toClose through access method

Only using the access method means we only have one place where the
toClose set is modified, making it easier to debug either by adding
log statements or by setting a breakpoint.

Change-Id: I4f9f1774d5f2e10bcab381edfd84bb6ee0499a11
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/LocalDiskRepositoryTestCase.java