You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2018/01/06 12:17:00 UTC

[jira] [Comment Edited] (OFBIZ-9571) [DEPRECATION] Replace BigDecimal.ROUND_* by RoundingMode.*

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

Jacques Le Roux edited comment on OFBIZ-9571 at 1/6/18 12:16 PM:
-----------------------------------------------------------------

ProductUtil.java in Solr was missing or was added later, done in r1804953+1820388 



was (Author: jacques.le.roux):
ProductUtil.java was missing or was added later, done in r1804953+1820388 


> [DEPRECATION] Replace BigDecimal.ROUND_* by RoundingMode.*
> ----------------------------------------------------------
>
>                 Key: OFBIZ-9571
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9571
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>
> 3 years ago I wrote about that in dev ML: https://s.apache.org/EVxA
> bq.  I just read at http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html : <<Using the integer fields in this class (such as [ROUND_HALF_UP|http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html#ROUND_HALF_UP]) to represent rounding mode is largely obsolete; the enumeration values of the RoundingMode enum, (such as [RoundingMode.HALF_UP|http://docs.oracle.com/javase/7/docs/api/java/math/RoundingMode.html#HALF_UP]) should be used instead.
> It's time for action...



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)