You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Pawan Verma (JIRA)" <ji...@apache.org> on 2016/10/13 13:18:20 UTC

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

Pawan Verma created OFBIZ-8413:
----------------------------------

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

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



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