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

UtilValidate's isEmpty and isNotEmpty methods not used correctly

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • Trunk
    • 16.11.01
    • ALL COMPONENTS
    • 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

            deepak Deepak Dixit
            pawan Pawan Verma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: