[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
Platform: 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 ]

https://git.opendaylight.org/gerrit/#/c/10107/

Generated at Wed Feb 07 20:52:45 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.