[YANGTOOLS-744] Change return type of Module.getYangVersion() from String to YangVersion Created: 08/Feb/17 Updated: 10/Apr/22 Resolved: 20/Nov/17 |
|
| Status: | Verified |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.0.0 |
| Type: | Improvement | ||
| Reporter: | Peter Kajsa | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Description |
|
Currently, Module.getYangVersion() returns String. With introducing Yang 1.1 support we have defined enumeration YangVersion for yang versions, therefore it would be better to change return type of this method from String to YangVersion. |
| Comments |
| Comment by Robert Varga [ 24/Oct/17 ] |