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/24 05:13:16 UTC

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

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

Rishi Solanki updated OFBIZ-7540:
---------------------------------
    Description: 
- 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}


  was:
- Make class as final.

- Add a private constructor.

No variables needs to be change.


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