summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.junit
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2017-02-10 19:51:52 +0900
committerDavid Pursehouse <david.pursehouse@gmail.com>2017-02-10 21:04:03 +0900
commita9a3ce92aab43ab442160dce310941eab769f7b9 (patch)
tree31233ec79e4eb6480bcae2faf240e98b66a725d9 /org.eclipse.jgit.junit
parent158d3722d3aa016988aa288d9773af584632ede0 (diff)
downloadjgit-a9a3ce92aab43ab442160dce310941eab769f7b9.tar.gz
jgit-a9a3ce92aab43ab442160dce310941eab769f7b9.zip
LocalDiskRepositoryTestCase: Add clarifying comment in call to createRepository
Clarify that 'true' means 'auto close'. This makes it consistent with other calls that have a boolean argument for 'bare'. It also makes it a bit easier to see what's going on while stepping in the debugger, because it's not necessary to scroll around to find the method declaration. Change-Id: Idacd749407dcfd258af3efaaf44d129069925dd3 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.junit')
-rw-r--r--org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/LocalDiskRepositoryTestCase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/LocalDiskRepositoryTestCase.java b/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/LocalDiskRepositoryTestCase.java
index ceb0452350..b7929424f2 100644
--- a/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/LocalDiskRepositoryTestCase.java
+++ b/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/LocalDiskRepositoryTestCase.java
@@ -361,7 +361,7 @@ public abstract class LocalDiskRepositoryTestCase {
*/
private FileRepository createRepository(boolean bare)
throws IOException {
- return createRepository(bare, true);
+ return createRepository(bare, true /* auto close */);
}
/**