GitHub user anmolnar opened a pull request:
https://github.com/apache/zookeeper/pull/517
ZOOKEEPER-3039 TxnLogToolkit uses Scanner badly
Fixed by creating a single Scanner for all queries in the main() method.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/anmolnar/zookeeper ZOOKEEPER-3039
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/517.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #517
----
commit 8ff6dad5c7905db04b1ed836fc233ac648b2b5f5
Author: Andor Molnar <andor@...>
Date: 2018-05-09T23:15:59Z
ZOOKEEPER-3039. Use the same Scanner for all queries
----
---