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

Enforce noninstantiability to WidgetContentWorker Class

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 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 ContentWorkerInterface contentWorker = null;
        
      • Add a static getContentWorker() and replace use of WidgetContentWorker.contentWorker in classes 'MenuWrapTransform', 'MacroScreenRenderer' 'HtmlScreenRenderer', 'HtmlMenuRendererImage',

      Attachments

        1. OFBIZ-7428.patch
          11 kB
          Pratik Kulshreshth

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: