Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Implemented
-
Trunk
-
None
-
None
-
Community Day 2 - 2016, OFBiz Community Day (May 2020)
Description
- Make FinAccountHelper class as final.
- Add a private constructor.
- Make the following public static variable as private.
public static final String MODULE = FinAccountHelper.class.getName(); public static final int decimals = UtilNumber.getBigDecimalScale("finaccount.decimals"); public static final RoundingMode rounding = UtilNumber.getRoundingMode("finaccount.rounding"); public static final BigDecimal ZERO = BigDecimal.ZERO.setScale(decimals, rounding); public static final String giftCertFinAccountTypeId = "GIFTCERT_ACCOUNT";
Attachments
Issue Links
- links to