[MDSAL-491] Fix list Key data object nullness guarantees Created: 21/Nov/19 Updated: 19/Dec/20 Resolved: 03/Aug/20 |
|
| Status: | Resolved |
| Project: | mdsal |
| Component/s: | Binding codegen |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.8 |
| Type: | Improvement | Priority: | Low |
| Reporter: | Robert Varga | Assignee: | Ilya Igushev |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
Key classes generated for the purposes of addressing maps are accepting null values, which is not a valid use in most circumstances. Examine whether we should be restricting all values to be non-null and if that is the case, enforce values as appropriate in the constructors, annotate getters as returning @NonNull. |