You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Rohit Koushal (JIRA)" <ji...@apache.org> on 2016/06/24 14:52:16 UTC

[jira] [Updated] (OFBIZ-7590) Enforce noninstantiability to UtilIO class

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

Rohit Koushal updated OFBIZ-7590:
---------------------------------
    Attachment: OFBIZ-7590.patch

1. Class is already final.
2. Making below public variable as private
{code}
public static final Charset UTF8 = Charset.forName("UTF-8");
{code}
3.  Wrote a getter method getUtf8() and replace its occurrences in file 
{code}
UtilIOTests.java
{code}

Thanks [~rishisolankii] for the details.

> Enforce noninstantiability to UtilIO class
> ------------------------------------------
>
>                 Key: OFBIZ-7590
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7590
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Rishi Solanki
>            Assignee: Rohit Koushal
>            Priority: Minor
>         Attachments: OFBIZ-7590.patch
>
>
> - Make class as final.
> - Add a private constructor.
> No variables needs to be change for this class.



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