You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Arun Patidar (JIRA)" <ji...@apache.org> on 2016/06/23 14:02:16 UTC

[jira] [Closed] (OFBIZ-7379) Enforce noninstantiability to PaymentWorker class

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

Arun Patidar closed OFBIZ-7379.
-------------------------------
       Resolution: Fixed
    Fix Version/s: Upcoming Branch

Committed changes in trunk at rev: 1749892

Thanks [~rishisolankii] and [~amit.gadaley] for your contribution.

> Enforce noninstantiability to 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
>            Assignee: Arun Patidar
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         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)