typo fixes

This commit is contained in:
Jonathan Shook 2020-04-20 02:02:39 -05:00
parent 81bce7a7e7
commit 3d35640b24
2 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ export central_runtime_version=$(
.nosqlbench"%20AND%20a:"engine-cli"%20AND%20p:"jar"&wt=json&rows=1' \
| perl -pe 'if (/"latestVersion":"([\d\.]+?)"/) { $_ = $1 } else {$_="nope"}'
)
export DOWNLOAD_VERSION=${central_runtime_version:?"Unable to find a downloadble version via maven central search."}
export DOWNLOAD_VERSION=${central_runtime_version:?"Unable to find a downloadable version via maven central search."}
printf 'Downloading version: %s\n...' ${DOWNLOAD_VERSION} 1>&2
export DOWNLOAD_URL="https://repo1.maven
.org/maven2/io/nosqlbench/engine-cli/${DOWNLOAD_VERSION}/engine-cli-$

View File

@ -23,8 +23,8 @@ public class JoinTemplate extends Template implements LongFunction<String> {
super(templateFor(prefix,delimiter,suffix,funcs), funcs);
}
@Example({"JoinTemplate(Add(3),'[',';',']',NumberNameToString(),NumberNameToString(),NumberNameToString())",
"create values like '[zero;three,six]', '[one;four,seven]', ..."})
@Example({"JoinTemplate(Add(3),'<',';','>',NumberNameToString(),NumberNameToString(),NumberNameToString())",
"create values like '<zero;three,six>', '<one;four,seven>', ..."})
public JoinTemplate(LongUnaryOperator iterop, String prefix, String delimiter, String suffix, LongFunction<?>... funcs) {
super(iterop, templateFor(prefix,delimiter,suffix,funcs), funcs);