[jira] [Updated] (OFBIZ-7417) Enforce noninstantiability to TaskWorker class

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

[jira] [Updated] (OFBIZ-7417) Enforce noninstantiability to TaskWorker class

Nicolas Malin (Jira)

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

Pierre Smits updated OFBIZ-7417:
--------------------------------
    Summary: Enforce noninstantiability to TaskWorker class  (was: TaskWorker class)

> Enforce noninstantiability to TaskWorker class
> ----------------------------------------------
>
>                 Key: OFBIZ-7417
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7417
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: order
>    Affects Versions: Trunk
>            Reporter: Rishi Solanki
>            Assignee: Anurag Chandak
>            Priority: Minor
>         Attachments: OFBIZ-7417.patch
>
>
> - Make class as final.
> - Add a private constructor.
> - Make the following static variable as  private static final. And move the variable at top of the class.
> {code}
> static Map<String, String> statusMapping
> {code}



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