[jira] [Updated] (OFBIZ-7379) PaymentWorker class

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-7379) PaymentWorker class

Nicolas Malin (Jira)

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

Amit Gadaley updated OFBIZ-7379:
--------------------------------
    Attachment: OFBIZ-7379.patch

Patch is attached with the ticket. Thanks [~arunpati] and [~rishisolankii] for your guidance.

> PaymentWorker class
> -------------------
>
>                 Key: OFBIZ-7379
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7379
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: Trunk
>            Reporter: Rishi Solanki
>            Priority: Minor
>         Attachments: OFBIZ-7379.patch
>
>
> - Make class as final.
> - Add a private constructor.
> - Make the following private static variable as final.
> {code}
>     private static int decimals = UtilNumber.getBigDecimalScale("invoice.decimals");
>     private static int rounding = UtilNumber.getBigDecimalRoundingMode("invoice.rounding");
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)