[jira] [Closed] (OFBIZ-7428) Enforce noninstantiability to WidgetContentWorker Class

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (OFBIZ-7428) Enforce noninstantiability to WidgetContentWorker Class

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-7428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun Patidar closed OFBIZ-7428.
-------------------------------
       Resolution: Fixed
    Fix Version/s: Upcoming Branch

Committed changes in trunk at rev: 1750521.

Thanks [~rishisolankii] and [~pratik.kulshreshth] for your contribution.

> Enforce noninstantiability to WidgetContentWorker Class
> -------------------------------------------------------
>
>                 Key: OFBIZ-7428
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7428
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>            Reporter: Arun Patidar
>            Assignee: Arun Patidar
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-7428.patch
>
>
> - Make class as final.
> - Add a private constructor.
> - Make the following public static variables as private
> {code}
>     public static ContentWorkerInterface contentWorker = null;
> {code}
> - Add a static getContentWorker() and replace use of WidgetContentWorker.contentWorker in classes 'MenuWrapTransform', 'MacroScreenRenderer' 'HtmlScreenRenderer', 'HtmlMenuRendererImage',  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)