Uploaded image for project: 'groupbasedpolicy'
  1. groupbasedpolicy
  2. GBP-164

sonar issue: Broken Null Check

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Cannot Reproduce
    • unspecified
    • None
    • Renderer:OfOverlay
    • None
    • Operating System: All
      Platform: All

    • 3835

    Description

      sonor detail:

      https://sonar.opendaylight.org/drilldown/issues/51201?&rule=pmd%3ABrokenNullCheck&rule_sev=CRITICAL

      } else if ((generalAugMatchA == null && generalAugMatchB != null)

      generalAugMatchA != null) {

      I don't think there is an issue in above. but we may change the code for easy reading:

      } else if ((generalAugMatchA == null && generalAugMatchB != null)

      (generalAugMatchA != null && generalAugMatchB != null)) {

      after checking, we can check the change can make sonor happy.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ruijing.guo@intel.com Ruijing Guo
            ruijing.guo@intel.com Ruijing Guo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: