]> source.dussan.org Git - gitblit.git/commitdiff
Fix message formatting
authorDavid Ostrovsky <david@ostrovsky.org>
Sat, 15 Mar 2014 07:42:26 +0000 (08:42 +0100)
committerJames Moger <james.moger@gitblit.com>
Thu, 10 Apr 2014 22:58:08 +0000 (18:58 -0400)
Change-Id: I1ee1e4135525b7064c4f8e159ed9d8cbef510a81

src/main/java/com/gitblit/transport/ssh/commands/DispatchCommand.java

index 673b576efdc8a8ecb562f93c640eeb961a4a19ee..1e43e2f2b0b069f343434009369762b5178e8dfd 100644 (file)
@@ -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);