summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.pgm.test/src/org/eclipse
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jgit.pgm.test/src/org/eclipse')
-rw-r--r--org.eclipse.jgit.pgm.test/src/org/eclipse/jgit/pgm/CLIGitCommand.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/org.eclipse.jgit.pgm.test/src/org/eclipse/jgit/pgm/CLIGitCommand.java b/org.eclipse.jgit.pgm.test/src/org/eclipse/jgit/pgm/CLIGitCommand.java
index 7d2cbca729..6a12019d7c 100644
--- a/org.eclipse.jgit.pgm.test/src/org/eclipse/jgit/pgm/CLIGitCommand.java
+++ b/org.eclipse.jgit.pgm.test/src/org/eclipse/jgit/pgm/CLIGitCommand.java
@@ -44,7 +44,6 @@ package org.eclipse.jgit.pgm;
import java.io.ByteArrayOutputStream;
import java.io.File;
-import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.List;
@@ -106,8 +105,7 @@ public class CLIGitCommand {
try {
return IO.readLines(new String(rawExecute(str, db)));
} catch (Die e) {
- return IO.readLines(MessageFormat.format(CLIText.get().fatalError,
- e.getMessage()));
+ return IO.readLines(CLIText.fatalError(e.getMessage()));
}
}