[
https://issues.apache.org/jira/browse/OFBIZ-7379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anurag Chandak updated OFBIZ-7379:
----------------------------------
Summary: Enforce noninstantiability to PaymentWorker class (was: PaymentWorker class)
> 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
> 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)