[YANGTOOLS-849] Make sure {Yin,Yang}TextSchemaSource.forResource() are consistent Created: 19/Feb/18 Updated: 25/Feb/19 Resolved: 25/Feb/19 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | parser |
| Affects Version/s: | 2.0.1 |
| Fix Version/s: | 3.0.0 |
| 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 | ||
| Description |
|
YangTextSchemaSource returns a concrete final class, while YinTextSchemaSource returns itself. Fix this API consistency issue by either exposing ResourceYinTextSchemaSource or hiding YangTextSchemaSource. |