[YANGTOOLS-274] Improve YangInstanceIdentifier.toString() Created: 20/Aug/14 Updated: 10/Apr/22 Resolved: 28/Aug/14 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | ||
| Reporter: | Robert Varga | 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 |
|
Our implmentation of toString() results in a lot of repetition of namespaces, which makes reasoning about the identifiers pretty much impossible. As it turns out, we can simplify this greatly if retain the last emitted namespace and not emit it when not needed. |
| Comments |
| Comment by Robert Varga [ 26/Aug/14 ] |