[MDSAL-373] Get rid of javax.annotation nullness annotations Created: 08/Oct/18 Updated: 12/Oct/18 Resolved: 12/Oct/18 |
|
| Status: | Resolved |
| Project: | mdsal |
| Component/s: | Binding API, Binding V2 API, DOM API |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.1 |
| Type: | Improvement | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | java11 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
javax.annotation.Nullable has wrong retention, which leads to javax.annotation being generated as an OSGi import. Remove the use of these annotations in API and implementation components, so that we do not have an import dependency on javax.annotation. |
| Comments |
| Comment by Robert Varga [ 09/Oct/18 ] |
|
We actually do not have to solve this ourselves – odlparent-4.0.3 will provide a blanket solution. |
| Comment by Robert Varga [ 12/Oct/18 ] |
|
This is mostly fixed, but there are some leftovers which will be cleaned up once we integrate odlparent-4.0.3. |