[MDSAL-344] YangModuleInfo fails when faced with no revisions Created: 28/May/18  Updated: 28/May/18  Resolved: 28/May/18

Status: Resolved
Project: mdsal
Component/s: Binding codegen
Affects Version/s: Oxygen, Oxygen SR1, Fluorine
Fix Version/s: Fluorine, Oxygen SR2

Type: Bug 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   

When a revisionless module and import are encountered and requested to be sorted, YangModuleInfoTemplate bails due to Optional<Revision> not being comparable.

This can be fixed by passing an explicit Comparator to the internal TreeMap.


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