[ODLPARENT-146] The FindBugs upgrade introduces a breaking regression wrt. non-null parameters Created: 28/Mar/18 Updated: 24/Apr/18 Resolved: 24/Apr/18 |
|
| Status: | Resolved |
| Project: | odlparent |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.2, 4.0.0 |
| Type: | Bug | Priority: | Medium |
| Reporter: | Stephen Kitt | Assignee: | Stephen Kitt |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
E.g.
[INFO] — findbugs-maven-plugin:3.0.5:check (analyze-compile) @ sal-inmemory-datastore — |
| Comments |
| Comment by Stephen Kitt [ 29/Mar/18 ] |
|
https://git.opendaylight.org/gerrit/70173 fixes this by disabling NP_NONNULL_PARAM_VIOLATION in our FindBugs setup. |
| Comment by Stephen Kitt [ 17/Apr/18 ] |
|
This also needs to exclude the following: RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE, NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE, NP_NULL_PARAM_DEREF. |
| Comment by Stephen Kitt [ 24/Apr/18 ] |