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

Service: Use UtilValidate's isEmpty and isNotEmpty methods correctly

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

        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:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment