[ 
https://issues.apache.org/jira/browse/NIFI-12288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17780636#comment-17780636
 ] 

ASF subversion and git services commented on NIFI-12288:
--------------------------------------------------------

Commit fa068945560df94676e57edc0a5210fb561963bc in nifi's branch 
refs/heads/support/nifi-1.x from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=fa06894556 ]

NIFI-12288 This closes #7950. Improved Long and Integer handling in Utilities

- Added explicit round in FormatUtils.makeWholeNumberTime()
- Removed unnecessary boxing in component descriptors
- Maintained long number tracking for releasable counts in Wait and Notify 
Processors

Signed-off-by: Joseph Witt <joew...@apache.org>
(cherry picked from commit ae14738dead33ca20dc2e779f5157118ee2b228f)


> Improve Number Handling in Utilities
> ------------------------------------
>
>                 Key: NIFI-12288
>                 URL: https://issues.apache.org/jira/browse/NIFI-12288
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework, Extensions
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Major
>             Fix For: 2.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Several utilities and components, such as FormatUtils, as well as the Wait 
> and Notify Processors, include imprecise conversion between long and integer 
> numbers. These references should be updated to maintain the original typing 
> and use explicit methods when converting to integers.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to