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/15 15:06:20 UTC
[jira] [Updated] (OFBIZ-8493) Content: Use UtilValidate's isEmpty
and isNotEmpty methods correctly
[ https://issues.apache.org/jira/browse/OFBIZ-8493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pawan Verma updated OFBIZ-8493:
-------------------------------
Attachment: OFBIZ-8493.patch
Attaching patch for this improvement.
> Content: Use UtilValidate's isEmpty and isNotEmpty methods correctly
> --------------------------------------------------------------------
>
> Key: OFBIZ-8493
> URL: https://issues.apache.org/jira/browse/OFBIZ-8493
> Project: OFBiz
> Issue Type: Sub-task
> Components: content
> Affects Versions: Trunk
> Reporter: Pawan Verma
> Attachments: OFBIZ-8493.patch
>
>
> Use UtilValidate's isEmpty and isNotEmpty methods correctly, like,
> – used: if(!UtilValidate.isEmpty(productId)) correct use of it: if(UtilValidate.isNotEmpty(productId))
> – used: if(!UtilValidate.isNotEmpty(productId)) correct use of it: if(UtilValidate.isEmpty(productId))
> This would improve code readability of project.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)