[NETCONF-1211] Reduce the number of conditional operators in RestconfStream Created: 07/Dec/23 Updated: 20/Dec/23 Resolved: 20/Dec/23 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | restconf-nb |
| Affects Version/s: | None |
| Fix Version/s: | 7.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 |
|
Reduce the number of conditional operators in RestconfStream#addSubscriber method: It means simplify the following expression: final var textParams = new TextParameters( leafNodes != null && leafNodes.value(), skipData != null && skipData.value(), changedLeafNodes != null && changedLeafNodes.value(), childNodes != null && childNodes.value()); |