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

Minilang: Use UtilValidate's isEmpty and isNotEmpty methods correctly

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: Trunk
    • Fix Version/s: 16.11.01
    • Component/s: ALL COMPONENTS
    • Labels:
      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-8497.patch
          0.7 kB
          Pawan Verma

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: