mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
minor fixes
This commit is contained in:
parent
7e155200c5
commit
795d63aa63
@ -55,7 +55,7 @@ public abstract class NBBaseCommand extends NBInvokableCommand {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "SCENARIO (" + this.getClass().getSuperclass().getSimpleName() + ") { scenarioName: " + getScenarioName() + " }";
|
||||
return "CMD (" + this.getClass().getSimpleName();
|
||||
}
|
||||
|
||||
public abstract Object invoke(
|
||||
|
@ -51,7 +51,7 @@ public class CmdParser {
|
||||
LinkedList<Record> cmdstructs = new LinkedList<>();
|
||||
LinkedList<Cmd> cmds = new LinkedList<>();
|
||||
|
||||
while (args.size()>0) {
|
||||
while (!args.isEmpty()) {
|
||||
String arg=args.peekFirst();
|
||||
Matcher matcher = combinedPattern.matcher(arg);
|
||||
if (matcher.matches()) {
|
||||
|
Loading…
Reference in New Issue
Block a user