mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-01-06 22:13:08 -06:00
improve on-screen format for ParsedTemplate
This commit is contained in:
parent
28bf7b6e91
commit
14f43d7835
@ -194,11 +194,11 @@ public class ParsedTemplate {
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
String sb = "\n parsed: " +
|
||||
String sb = "parsed: " +
|
||||
StreamSupport.stream(Arrays.spliterator(spans), false)
|
||||
.map(s -> "[" + s + "]").collect(Collectors.joining(",")) +
|
||||
"\n missing bindings: " +
|
||||
getMissing().stream().collect(Collectors.joining(",", "[", "]"));
|
||||
(getMissing().size() > 0 ? "\n missing bindings: " +
|
||||
getMissing().stream().collect(Collectors.joining(",", "[", "]")) : "");
|
||||
return sb;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user