[
https://issues.apache.org/jira/browse/OFBIZ-7690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rohit Koushal updated OFBIZ-7690:
---------------------------------
Attachment: OFBIZ-7690.patch
Thanks [~rishisolankii] for the details. Here is the patch for the issue.
> 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: Rohit Koushal
> Priority: Minor
> 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)