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

Enforce noninstantiability to WidgetDataResourceWorker Class

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Trunk
    • 16.11.01
    • framework
    • None
    • Community Day 2 - 2016, OFBiz Community Day (May 2020)

    Description

      • Make class as final.
      • Add a private constructor.
      • Make the following public static variables as private
            public static DataResourceWorkerInterface dataresourceWorker = null;
        
      • Add a getDataresourceWorker() method and replace use of DataResourceWorkerInterface.dataresourceWorker from classes 'HtmlScreenRenderer' and 'MacroScreenRenderer'

      Attachments

        1. OFBIZ-7422.patch
          6 kB
          Rohit Koushal

        Activity

          People

            arunpati Arun Patidar
            arunpati Arun Patidar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: