Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-8413

UtilValidate's isEmpty and isNotEmpty methods not used correctly

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: Trunk
    • Fix Version/s: 16.11.01
    • Component/s: ALL COMPONENTS
    • Labels:
      None

      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))
      We should use this correctly because this would improve code readabiliiy of project.

        Attachments

          Activity

            People

            • Assignee:
              deepak.dixit Deepak Dixit
              Reporter:
              pawan.verma Pawan Verma
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: