[jira] [Created] (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] [Created] (OFBIZ-7690) Enforce noninstantiability to PreferenceWorker class

Nicolas Malin (Jira)
Rishi Solanki created OFBIZ-7690:
------------------------------------

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


- 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)