From: David Pursehouse Date: Fri, 10 Feb 2017 10:51:52 +0000 (+0900) Subject: LocalDiskRepositoryTestCase: Add clarifying comment in call to createRepository X-Git-Tag: v4.7.0.201704051617-r~75 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a9a3ce92aab43ab442160dce310941eab769f7b9;p=jgit.git 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 --- 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 */); } /**