From 282b8fd82c46ba6874fb24c8715af103645f3406 Mon Sep 17 00:00:00 2001 From: David Ostrovsky Date: Sat, 15 Mar 2014 08:42:26 +0100 Subject: [PATCH] Fix message formatting Change-Id: I1ee1e4135525b7064c4f8e159ed9d8cbef510a81 --- .../com/gitblit/transport/ssh/commands/DispatchCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gitblit/transport/ssh/commands/DispatchCommand.java b/src/main/java/com/gitblit/transport/ssh/commands/DispatchCommand.java index 673b576e..1e43e2f2 100644 --- a/src/main/java/com/gitblit/transport/ssh/commands/DispatchCommand.java +++ b/src/main/java/com/gitblit/transport/ssh/commands/DispatchCommand.java @@ -80,7 +80,7 @@ public class DispatchCommand extends BaseCommand { } CommandMetaData meta = cmd.getAnnotation(CommandMetaData.class); if (meta.admin() && user.canAdmin()) { - log.debug(MessageFormat.format("excluding admin command {} for {}", meta.name(), user.username)); + log.debug(MessageFormat.format("excluding admin command {0} for {1}", meta.name(), user.username)); return; } commands.add(cmd); -- 2.39.5