mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Gaetan Boismal
01.35.2015 abfe565834b281f306e0df0e7bece3f7556d2728
refs
author Gaetan Boismal <gaetan.boismal@forgerock.com>
Thursday, October 1, 2015 16:35 +0200
committer Gaetan Boismal <gaetan.boismal@forgerock.com>
Thursday, October 1, 2015 19:01 +0200
commitabfe565834b281f306e0df0e7bece3f7556d2728
tree ee4c96aefd9793ca9f08ab55452b85a637dad98d tree | zip | gz
parent c1d4918c9d8d78f15ab8bf59f1a24490a0be40a2 view | diff
OPENDJ-2246 Fix xxxrate tools NaN err/sec

If no errors are reported, it is ok to print that we have 0.0 err/sec.
If we have an interval duration equals to zero (it could append when tool start), this fix prevents us to print a 'NaN'.
1 files modified
4 ■■■ changed files
opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/PerformanceRunner.java 4 ●●● diff | view | raw | blame | history