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

Jacques Le Roux updated OFBIZ-9572:
-----------------------------------
    Description: 
Using "BigDecimal ZERO" instead of BigDecimal.ZERO does not add anything but 
more useless code. They are both constants and the compiler will made them so.

This should not be done when setScale() is used on the ZERO constant

  was:Using "BigDecimal ZERO" instead of BigDecimal.ZERO does not add anything 
but more useless code. They are both constants and the compiler will made them 
so.


> Replace all "BigDecimal ZERO" by BigDecimal.ZERO
> ------------------------------------------------
>
>                 Key: OFBIZ-9572
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9572
>             Project: OFBiz
>          Issue Type: Improvement
>            Reporter: Jacques Le Roux
>
> Using "BigDecimal ZERO" instead of BigDecimal.ZERO does not add anything but 
> more useless code. They are both constants and the compiler will made them so.
> This should not be done when setScale() is used on the ZERO constant



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

Reply via email to