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

Gaetan Boismal
01.35.2015 758b3339918298ea2848bb428ebe15459f41c025
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
commit758b3339918298ea2848bb428ebe15459f41c025
tree 9ce522111b9f09d15bbdf6119206251e5162ca39 tree | zip | gz
parent f73e7a4b630567c546bb89a2e72259d2b1eb7ebe 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-sdk/opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/PerformanceRunner.java 4 ●●● diff | view | raw | blame | history