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

UtilValidate's isEmpty and isNotEmpty methods not used correctly

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment