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

2018-02-13 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux closed OFBIZ-9571.
--
Resolution: Implemented

At revision: 1824120 I changed the other cases which were not mixed with the 
issue dealt with at OFBIZ-9572.

> [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
> Fix For: Upcoming Branch
>
>
> 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 : < 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
(v7.6.3#76005)


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

2018-02-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux closed OFBIZ-9571.
--
Resolution: Implemented

Double-checked, it's OK :)

{{(RoundingMode.HALF_UP).ordinal() == BigDecimal.ROUND_HALF_UP}}

> [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
> Fix For: Upcoming Branch
>
>
> 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 : < 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
(v7.6.3#76005)


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

2018-02-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux closed OFBIZ-9571.
--
   Resolution: Implemented
Fix Version/s: Upcoming Branch

Done with revision: 1823931  


> [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
> Fix For: Upcoming Branch
>
>
> 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 : < 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
(v7.6.3#76005)