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.

      1.
      Accounting: Use UtilValidate's isEmpty and isNotEmpty methods correctly Sub-task Closed Deepak Dixit
       
      2.
      Base: Use UtilValidate's isEmpty and isNotEmpty methods correctly Sub-task Closed Deepak Dixit
       
      3.
      Catalina: Use UtilValidate's isEmpty and isNotEmpty methods correctly Sub-task Closed Deepak Dixit
       
      4.
      Common: Use UtilValidate's isEmpty and isNotEmpty methods correctly Sub-task Closed Deepak Dixit
       
      5.
      Content: Use UtilValidate's isEmpty and isNotEmpty methods correctly Sub-task Closed Deepak Dixit
       
      6.
      Entity: Use UtilValidate's isEmpty and isNotEmpty methods correctly Sub-task Closed Deepak Dixit
       
      7.
      Entityext: Use UtilValidate's isEmpty and isNotEmpty methods correctly Sub-task Closed Deepak Dixit
       
      8.
      Manufacturing: Use UtilValidate's isEmpty and isNotEmpty methods correctly Sub-task Closed Deepak Dixit
       
      9.
      Minilang: Use UtilValidate's isEmpty and isNotEmpty methods correctly Sub-task Closed Deepak Dixit
       
      10.
      Order: Use UtilValidate's isEmpty and isNotEmpty methods correctly Sub-task Closed Deepak Dixit
       
      11.
      Party: Use UtilValidate's isEmpty and isNotEmpty methods correctly Sub-task Closed Deepak Dixit
       
      12.
      Product: Use UtilValidate's isEmpty and isNotEmpty methods correctly Sub-task Closed Deepak Dixit
       
      13.
      Securityext: Use UtilValidate's isEmpty and isNotEmpty methods correctly Sub-task Closed Deepak Dixit
       
      14.
      Service: Use UtilValidate's isEmpty and isNotEmpty methods correctly Sub-task Closed Deepak Dixit
       
      15.
      Webapp: Use UtilValidate's isEmpty and isNotEmpty methods correctly Sub-task Closed Deepak Dixit
       
      16.
      Widget: Use UtilValidate's isEmpty and isNotEmpty methods correctly Sub-task Closed Deepak Dixit
       

        Activity

        There are no comments yet on this issue.

          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:

              Development