[ https://issues.apache.org/jira/browse/OFBIZ-7379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun Patidar reassigned OFBIZ-7379: ----------------------------------- Assignee: Arun Patidar > 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 > 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)