[GBP-164] sonar issue: Broken Null Check Created: 23/Jun/15  Updated: 01/Jul/15  Resolved: 01/Jul/15

Status: Resolved
Project: groupbasedpolicy
Component/s: Renderer:OfOverlay
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Ruijing Guo Assignee: Ruijing Guo
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 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.



 Comments   
Comment by Ruijing Guo [ 01/Jul/15 ]

close this bug since it is false alarm

Generated at Wed Feb 07 20:01:16 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.