[jira] [Closed] (OFBIZ-7422) Enforce noninstantiability to WidgetDataResourceWorker 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-7422) Enforce noninstantiability to WidgetDataResourceWorker Class

Nicolas Malin (Jira)

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

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

Committed changes in trunk at rev: 1750515.

Thanks [~rishisolankii] and [~rohit.koushal] for your contribution.

> Enforce noninstantiability to WidgetDataResourceWorker Class
> ------------------------------------------------------------
>
>                 Key: OFBIZ-7422
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7422
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Arun Patidar
>            Assignee: Arun Patidar
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-7422.patch
>
>
> - Make class as final.
> - Add a private constructor.
> - Make the following public static variables as private
> {code}
>     public static DataResourceWorkerInterface dataresourceWorker = null;
> {code}
> - Add a getDataresourceWorker() method and replace use of DataResourceWorkerInterface.dataresourceWorker from  classes 'HtmlScreenRenderer' and 'MacroScreenRenderer'



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