Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-8413 UtilValidate's isEmpty and isNotEmpty methods not used correctly
  3. OFBIZ-8492

Common: Use UtilValidate's isEmpty and isNotEmpty methods correctly

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Done
    • Trunk
    • 16.11.01
    • ALL COMPONENTS
    • None

    Description

      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.

      Attachments

        1. OFBIZ-8492.patch
          2 kB
          Pawan Verma

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: