[jira] [Assigned] (OFBIZ-7540) Enforce noninstantiability to FileUtil class

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

[jira] [Assigned] (OFBIZ-7540) Enforce noninstantiability to FileUtil class

Nicolas Malin (Jira)

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

Arun Patidar reassigned OFBIZ-7540:
-----------------------------------

    Assignee: Arun Patidar  (was: Rohit Koushal)

> Enforce noninstantiability to FileUtil class
> --------------------------------------------
>
>                 Key: OFBIZ-7540
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7540
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Rishi Solanki
>            Assignee: Arun Patidar
>            Priority: Minor
>         Attachments: OFBIZ-7540.patch
>
>
> - Make class as final.
> - Add a private constructor.
> - Make following public static class as private and move it to the top of the class.
> {code}
>     public static class SearchTextFilesFilter implements FilenameFilter
> {code}



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