= Benchmark subsystem formatting update

This commit is contained in:
Matthew Cech
2019-06-19 20:03:16 -07:00
parent 2a2b46a507
commit 51e40610a2
61 changed files with 172 additions and 172 deletions
+5 -5
View File
@@ -30,27 +30,27 @@ public class CommandBenchmark extends Command
@Override
public void onRun(KittyGuild guild, KittyChannel channel, KittyUser user, UserInput input, Response res)
{
framework.Update();
framework.update();
if(input.args == null || input.args.length() == 0)
{
String output = getHelpText();
res.Call(output);
res.call(output);
return;
}
BenchmarkFormattable commandOutput = null;
synchronized(framework)
{
commandOutput = framework.Run(input.args.trim());
commandOutput = framework.run(input.args.trim());
}
if(commandOutput == null)
{
res.Call(LocStrings.stub("BenchmarkInvalid"));
res.call(LocStrings.stub("BenchmarkInvalid"));
return;
}
commandOutput.Call(res);
commandOutput.call(res);
}
}