[jira] [Commented] (NIFI-12288) Improve Number Handling in Utilities

2023-10-28 Thread David Handermann (Jira)


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

David Handermann commented on NIFI-12288:
-

Thanks [~joewitt], backported the changes to the support branch for 1.24.0, 
only minor generic typing adjustments required.

> 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)


[jira] [Commented] (NIFI-12288) Improve Number Handling in Utilities

2023-10-28 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-12288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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 
(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)


[jira] [Commented] (NIFI-12288) Improve Number Handling in Utilities

2023-10-28 Thread Joe Witt (Jira)


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

Joe Witt commented on NIFI-12288:
-

[~exceptionfactory]thanks!  if this should also go on the 1.x line as implied 
can you please confirm that build works and self-merge off this +1.  THanks

> 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)


[jira] [Commented] (NIFI-12288) Improve Number Handling in Utilities

2023-10-28 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on NIFI-12288:


Commit ae14738dead33ca20dc2e779f5157118ee2b228f in nifi's branch 
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=ae14738dea ]

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 


> 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: 1.latest, 2.latest
>
>  Time Spent: 10m
>  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)