| Summary: | redundant null check in FacetsPropertyPage | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Common Tools | Reporter: | David Williams <david_williams> | ||||
| Component: | Faceted Project Framework | Assignee: | Konstantin Komissarchik <konstantin> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Konstantin Komissarchik <konstantin> | ||||
| Severity: | minor | ||||||
| Priority: | P3 | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | 3.0 M7 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
David Williams
Created attachment 192201 [details]
patch to remove redundant null check
Comment on attachment 192201 [details]
patch to remove redundant null check
The compiler is indeed flagging an unnecessary null check, but the patch is incorrect. It removes the code in question from the else code flow, which is necessary.
Removed the redundant null check. > ... but the patch is
> incorrect. It removes the code in question from the else code flow, which is
> necessary.
doh, sorry for the sloppy patch.
thanks for fixing.
|