[jira] [Commented] (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] [Commented] (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:comment-tabpanel&focusedCommentId=15354537#comment-15354537 ]

Anurag Chandak commented on OFBIZ-7417:
---------------------------------------

Thanks [~arunpati]!

> 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: Arun Patidar
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         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)