diff options
author | Tomasz Zarna <Tomasz.Zarna@pl.ibm.com> | 2011-08-24 10:17:32 +0200 |
---|---|---|
committer | Tomasz Zarna <Tomasz.Zarna@pl.ibm.com> | 2011-08-24 10:17:32 +0200 |
commit | c35c23db8d75f0cfbd7538d64fb43dc80bb52e7e (patch) | |
tree | bb24e8a9e7af6a1dbd2f50c5aa667a206f798413 /org.eclipse.jgit/src/org/eclipse/jgit/api/CreateBranchCommand.java | |
parent | 930875a81a690f732fb5ac26304d6fb212aa2582 (diff) | |
download | jgit-c35c23db8d75f0cfbd7538d64fb43dc80bb52e7e.tar.gz jgit-c35c23db8d75f0cfbd7538d64fb43dc80bb52e7e.zip |
Use JGitText.refAlreadyExists instead of "ref exists"
Change-Id: I113bcf82c6292db5269271f799d09c80acc40bcd
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/api/CreateBranchCommand.java')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/api/CreateBranchCommand.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/CreateBranchCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/CreateBranchCommand.java index ece16489f5..a07fdfc66d 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/api/CreateBranchCommand.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/CreateBranchCommand.java @@ -130,7 +130,7 @@ public class CreateBranchCommand extends GitCommand<Ref> { && refToCheck.getName().startsWith(Constants.R_HEADS); if (!force && exists) throw new RefAlreadyExistsException(MessageFormat.format( - JGitText.get().refAlreadExists, name)); + JGitText.get().refAlreadyExists, name)); ObjectId startAt = getStartPoint(); String startPointFullName = null; |