[
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)