GitHub user anmolnar opened a pull request:
https://github.com/apache/zookeeper/pull/518
ZOOKEEPER-3039 TxnLogToolkit uses Scanner badly
Cherry-picked from master.
Resolved conflicts.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/anmolnar/zookeeper ZOOKEEPER-3039_34
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/518.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 #518
----
commit e36b1938948a726cbc22502a327ae446c91213b5
Author: Andor Molnar <andor@...>
Date: 2018-05-10T20:14:24Z
ZOOKEEPER-3039: TxnLogToolkit uses Scanner badly
Fixed by creating a single Scanner for all queries in the main() method.
Author: Andor Molnar <[email protected]>
Reviewers: [email protected]
Closes #517 from anmolnar/ZOOKEEPER-3039 and squashes the following commits:
a35e2e280 [Andor Molnar] ZOOKEEPER-3039. Optimize imports
a196443cb [Andor Molnar] ZOOKEEPER-3039. Use the same Scanner for all
queries
Change-Id: Icf66888d4e6ad902615ed8ffde58a5a8fdd41237
----
---