[YANGTOOLS-751] Fix SourceIdentifier.getRevision() Created: 24/Feb/17 Updated: 10/Apr/22 Resolved: 27/Feb/17 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| 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 |
||
| Issue Links: |
|
||||||||
| External issue ID: | 7850 | ||||||||
| Description |
|
getRevision() is documented to return null when the revision is not present, but the actual implementation was broken by https://git.opendaylight.org/gerrit/9646 and returns a specialized string. This breaks at least file generation, as it appends '@0000-00-00' where it should not. Fix this problem and drive users to adjust to null – at least netconf relies on this magic string rather than the API contract. |
| Comments |
| Comment by Robert Varga [ 24/Feb/17 ] |
|
netconf: |
| Comment by Robert Varga [ 24/Feb/17 ] |
|
yangtools:
|