[NETCONF-1044] Convert ReadDataParams to Java record Created: 30/May/23 Updated: 27/Jun/23 Resolved: 27/Jun/23 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | restconf-nb |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0 |
| Type: | Task | Priority: | Medium |
| Reporter: | Ivan Hrasko | Assignee: | Oleksandr Zharov |
| Resolution: | Done | Votes: | 0 |
| Labels: | pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
ReadDataParams class is immutable data holder which can be converted to Java record as FIXME already says. For special nullability requirements we can use compact constructors, see https://blogs.oracle.com/javamagazine/post/java-records-constructor-methods-inheritance. |