[jira] [Closed] (OFBIZ-7690) Enforce noninstantiability to PreferenceWorker class

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

[jira] [Closed] (OFBIZ-7690) Enforce noninstantiability to PreferenceWorker class

Nicolas Malin (Jira)

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

Arun Patidar closed OFBIZ-7690.
-------------------------------
       Resolution: Fixed
    Fix Version/s: Upcoming Branch

Committed changes in trunk at rev: 1751292.

Thanks [~rishisolankii] and [~rohit.koushal] for your contribution.

> Enforce noninstantiability to PreferenceWorker class
> ----------------------------------------------------
>
>                 Key: OFBIZ-7690
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7690
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Rishi Solanki
>            Assignee: Arun Patidar
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-7690.patch
>
>
> - Make class as final.
> - Add a private constructor.
> - Make the following public static final variables as private
> {code}
>     public static final String ADMIN_PERMISSION = "USERPREF_ADMIN";
>     public static final String LOGINID_PARAMETER_NAME = "userPrefLoginId";
>     public static final String DEFAULT_UID = "_NA_";
> {code}
> No variables needs to be change for this class.



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