You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2023/05/15 18:29:00 UTC

[jira] [Resolved] (NIFI-11083) FormatUtils not converting milliseconds to nanoseconds correctly

     [ https://issues.apache.org/jira/browse/NIFI-11083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Handermann resolved NIFI-11083.
-------------------------------------
    Resolution: Not A Problem

> 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
>            Priority: Major
>
> While refactoring the unit tests in NIFI-11035 it was discovered that 
> {code:java}
> nifi/nifi-commons/nifi-utils/src/main/java/org/apache/nifi/util/FormatUtils.java
> {code} method 
> {code:java}
> makeWholeNumberTime
> {code}
>  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)