[jira] [Updated] (OFBIZ-8413) UtilValidate's isEmpty and isNotEmpty methods not used correctly

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

[jira] [Updated] (OFBIZ-8413) UtilValidate's isEmpty and isNotEmpty methods not used correctly

Nicolas Malin (Jira)

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

Pawan Verma updated OFBIZ-8413:
-------------------------------
    Description:
UtilValidate's isEmpty and isNotEmpty methods not used correctly, like,
-- used if(!UtilValidate.isEmpty(productId)) instead of if(UtilValidate.isNotEmpty(productId))
-- used if(!UtilValidate.isNotEmpty(productId)) instead of if(UtilValidate.isEmpty(productId))



  was:
UtilValidate's isEmpty and isNotEmpty methods not used correctly, like,
-- used if(!UtilValidate.isEmpty(productId)) instead of if(UtilValidate.isNotEmpty(productId))
-- used if(!UtilValidate.isNotEmpty(productId)) instead of if(UtilValidate.isEmpty(productId))

We should use this correctly because this would improve code readabiliiy of project.


> UtilValidate's isEmpty and isNotEmpty methods not used correctly
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-8413
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-8413
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>    Affects Versions: Trunk
>            Reporter: Pawan Verma
>
> UtilValidate's isEmpty and isNotEmpty methods not used correctly, like,
> -- used if(!UtilValidate.isEmpty(productId)) instead of if(UtilValidate.isNotEmpty(productId))
> -- used if(!UtilValidate.isNotEmpty(productId)) instead of if(UtilValidate.isEmpty(productId))



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