mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-28 17:51:06 -06:00
split description on periods or semicolons
This commit is contained in:
parent
16f4c183d5
commit
b0c30a7cc0
@ -64,7 +64,7 @@ public class WorkloadDesc implements Comparable<WorkloadDesc> {
|
||||
|
||||
if (!description.isEmpty()) {
|
||||
// sb.append("# description:\n");
|
||||
String formattedDesc = "# "+ description.split("\n")[0];
|
||||
String formattedDesc = "# "+ description.split("[\n.;]")[0];
|
||||
sb.append(formattedDesc).append("\n");
|
||||
while (sb.toString().endsWith("\n\n")) {
|
||||
sb.setLength(sb.length() - 1);
|
||||
|
Loading…
Reference in New Issue
Block a user