[YANGTOOLS-1040] Cleanup unknownSchemaNode/mustConstraints collections Created: 25/Nov/19 Updated: 27/Nov/19 Resolved: 27/Nov/19 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | parser |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.3, 3.0.7 |
| Type: | Improvement | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
getUnknownSchemaNodes() is mandated by DocumentedNode, which means that quite a few of statement implementations are open-coding the acquisition of this list. Concentrate handling of this list into a common superclass, so we reduce number of method implementations as well reduce duplication across the codebase. |