mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -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() {
|
public String toString() {
|
||||||
String sb = "\n parsed: " +
|
String sb = "parsed: " +
|
||||||
StreamSupport.stream(Arrays.spliterator(spans), false)
|
StreamSupport.stream(Arrays.spliterator(spans), false)
|
||||||
.map(s -> "[" + s + "]").collect(Collectors.joining(",")) +
|
.map(s -> "[" + s + "]").collect(Collectors.joining(",")) +
|
||||||
"\n missing bindings: " +
|
(getMissing().size() > 0 ? "\n missing bindings: " +
|
||||||
getMissing().stream().collect(Collectors.joining(",", "[", "]"));
|
getMissing().stream().collect(Collectors.joining(",", "[", "]")) : "");
|
||||||
return sb;
|
return sb;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user