Daniel Stieglitz created NIFI-11083:
---------------------------------------
Summary: FormatUtils not converting milliseconds to nanoseconds
correctly
Key: NIFI-11083
URL: https://issues.apache.org/jira/browse/NIFI-11083
Project: Apache NiFi
Issue Type: Bug
Reporter: Daniel Stieglitz
While refactoring the unit tests in NIFI-11035 it was discovered that
nifi/nifi-commons/nifi-utils/src/main/java/org/apache/nifi/util/FormatUtils.java
method makeWholeNumberTime is not converting milliseconds to nanoseconds
correctly. The given unit test was where milliseconds was 0.75, and in
nanoseconds should be 750000 but 750 was returned.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)