Modify ↓
Opened 2 days ago
Closed 37 hours ago
#24665 closed defect (wontfix)
refactor: Avoid using boxed "Boolean" types directly in boolean expressions (S5411)
| Reported by: | Owned by: | team | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | Cc: |
Description
Attachments (1)
Change History (2)
by , 2 days ago
| Attachment: | patch_24665.txt added |
|---|
comment:1 by , 37 hours ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



The purpose of S5411 is to prevent a NPE. As the null check is done in the previous if statement it cannot be null, so that only clutters the code without any benefit.
Please when fixing sonar issues check that the fix really is a fix.