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

Nicolas Malin (Jira)
Arun Patidar created OFBIZ-7807:
-----------------------------------

             Summary: Enforce noninstantiability to UtilValidate class
                 Key: OFBIZ-7807
                 URL: https://issues.apache.org/jira/browse/OFBIZ-7807
             Project: OFBiz
          Issue Type: Sub-task
          Components: framework
    Affects Versions: Trunk
            Reporter: Arun Patidar
            Priority: Minor


- Make class as final.
- Add a private constructor.
- Make following public variable as private
{code}
    public static final boolean defaultEmptyOK = true;
    public static final String hexDigits = digits + "abcdefABCDEF";
    public static final String whitespace = " \t\n\r";
{code}

There are so many public variables that can make as private. Also many variables are not in use. Please check the occurrence and take action accordingly.




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