There was one place where the parameter substitution wasn't done which caused
text fragments like "{0}" to appear in JGits output.
Bug: 325025
Change-Id: I89b881a8b5ef39f609437546310463ed4f6e1fb5
Signed-off-by: Sasa Zivkov <sasa.zivkov@sap.com>
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
final String dst = abbreviateRef(u.getLocalName(), true);
if (!shownURI) {
- out.format(CLIText.get().fromURI, r.getURI());
- out.println();
+ out.println(MessageFormat.format(CLIText.get().fromURI,
+ r.getURI()));
shownURI = true;
}