Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-7272 Enforce noninstantiability to all Utility classes
  3. OFBIZ-11721

Enforce noninstantiability to BillingAccountWorker Class

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Implemented
    • 22.01.01
    • None
    • accounting
    • None
    • Community Day 2 - 2016, OFBiz Community Day (May 2020)

    Description

      • Make BillingAccountWorker class as final.
      • Add a private constructor.
      • Make the following variable as private
        public static final String MODULE = BillingAccountWorker.class.getName();
        public static final String resourceError = "AccountingUiLabels";
        public static final int decimals = UtilNumber.getBigDecimalScale("order.decimals");
        public static final RoundingMode rounding = UtilNumber.getRoundingMode("order.rounding");
        public static final BigDecimal ZERO = BigDecimal.ZERO.setScale(decimals, rounding);
        

      Attachments

        Issue Links

          Activity

            People

              surajk Suraj Khurana
              surajk Suraj Khurana
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: