diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2010-07-02 17:01:40 -0700 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2010-07-03 10:54:30 -0700 |
commit | 08d349a27bbff4b0d3ee67eb6ddd4818e070c86e (patch) | |
tree | 90e4f66206bf699f2dd54a4c61061543cc9e25e9 /org.eclipse.jgit/src/org/eclipse/jgit/lib/BaseRepositoryBuilder.java | |
parent | fe9860a4441d606eb6d56da24197eb1797f275dc (diff) | |
download | jgit-08d349a27bbff4b0d3ee67eb6ddd4818e070c86e.tar.gz jgit-08d349a27bbff4b0d3ee67eb6ddd4818e070c86e.zip |
amend commit: Refactor repository construction to builder class
During code review, Alex raised a few comments about commit
532421d98925 ("Refactor repository construction to builder class").
Due to the size of the related series we aren't going to go back
and rebase in something this minor, so resolve them as a follow-up
commit instead.
Change-Id: Ied52f7a8f7252743353c58d20bfc3ec498933e00
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/lib/BaseRepositoryBuilder.java')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/lib/BaseRepositoryBuilder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/BaseRepositoryBuilder.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/BaseRepositoryBuilder.java index 90929e721c..92edb0325c 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/BaseRepositoryBuilder.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/BaseRepositoryBuilder.java @@ -467,7 +467,7 @@ public class BaseRepositoryBuilder<B extends BaseRepositoryBuilder, R extends Re protected void requireGitDirOrWorkTree() { if (getGitDir() == null && getWorkTree() == null) throw new IllegalArgumentException( - JGitText.get().eitherGIT_DIRorGIT_WORK_TREEmustBePassed); + JGitText.get().eitherGitDirOrWorkTreeRequired); } /** |