mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
typo fixes
This commit is contained in:
@@ -262,7 +262,7 @@ public class NBCLI {
|
||||
System.out.println("\n# from: "+ workload.getYamlPath());
|
||||
List<String> scenarioList = workload.getScenarioNames();
|
||||
String workloadName = workload.getYamlPath().replaceAll("\\.yaml", "") ;
|
||||
Set<String> templates = workload.getTemlpates();
|
||||
Set<String> templates = workload.getTemplates();
|
||||
|
||||
for (String scenario : scenarioList) {
|
||||
if (scenario.equals("default")) {
|
||||
|
||||
@@ -119,7 +119,7 @@ public class NBCLIOptions {
|
||||
|
||||
private void parse(String[] args) {
|
||||
|
||||
LinkedList<String> arglist = new LinkedList<String>() {{
|
||||
LinkedList<String> arglist = new LinkedList<>() {{
|
||||
addAll(Arrays.asList(args));
|
||||
}};
|
||||
|
||||
|
||||
@@ -6,12 +6,12 @@ import java.util.Set;
|
||||
public class WorkloadDesc {
|
||||
private final String yamlPath;
|
||||
private final List<String> scenarioNames;
|
||||
private final Set<String> temlpates;
|
||||
private final Set<String> templates;
|
||||
|
||||
public WorkloadDesc(String yamlPath, List<String> scenarioNames, Set<String> templates) {
|
||||
this.yamlPath = yamlPath;
|
||||
this.scenarioNames = scenarioNames;
|
||||
this.temlpates = templates;
|
||||
this.templates = templates;
|
||||
}
|
||||
|
||||
public String getYamlPath() {
|
||||
@@ -22,7 +22,7 @@ public class WorkloadDesc {
|
||||
return scenarioNames;
|
||||
}
|
||||
|
||||
public Set<String> getTemlpates() {
|
||||
return temlpates;
|
||||
public Set<String> getTemplates() {
|
||||
return templates;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user