[
https://issues.apache.org/jira/browse/NUMBERS-116?focusedWorklogId=265282&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-265282
]
ASF GitHub Bot logged work on NUMBERS-116:
------------------------------------------
Author: ASF GitHub Bot
Created on: 22/Jun/19 13:28
Start Date: 22/Jun/19 13:28
Worklog Time Spent: 10m
Work Description: asfgit commented on pull request #52: [NUMBERS-116]
Remove redundant methods in org.apache.commons.numbers.core.ArithmeticUtils
URL: https://github.com/apache/commons-numbers/pull/52
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 265282)
Time Spent: 0.5h (was: 20m)
> Remove redundant methods in ArithmeticUtils
> -------------------------------------------
>
> Key: NUMBERS-116
> URL: https://issues.apache.org/jira/browse/NUMBERS-116
> Project: Commons Numbers
> Issue Type: Improvement
> Components: core
> Reporter: Heinrich Bohne
> Priority: Minor
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> As has been
> [discussed|http://mail-archives.apache.org/mod_mbox/commons-dev/201906.mbox/%3C940f9ff0-0b25-cd31-ddb3-a95ca777ba06%40gmx.at%3E]
> on the developers' mailing list, the following methods from the class
> {{ArithmeticUtils}} can be removed:
> {{addAndCheck(int, int)}}
> {{addAndCheck(long, long)}}
> {{mulAndCheck(int, int)}}
> {{mulAndCheck(long, long)}}
> {{subAndCheck(int, int)}}
> {{subAndCheck(long, long)}}
> And their usages replaced with the following equivalent methods from
> {{java.lang.Math}}:
> {{addExact(int, int)}}
> {{addExact(long, long)}}
> {{multiplyExact(int, int)}}
> {{multiplyExact(long, long)}}
> {{subtractExact(int, int)}}
> {{subtractExact(long, long)}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)