You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Rishi Solanki (JIRA)" <ji...@apache.org> on 2016/06/20 14:11:05 UTC

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

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

Rishi Solanki updated OFBIZ-7428:
---------------------------------
    Summary: Enforce noninstantiability to WidgetContentWorker Class  (was: WidgetContentWorker Class)

> 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
>            Priority: Minor
>         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)