[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. |