[YANGTOOLS-66] Codegenerator emits lengthConstraints unnnecessarily, leading to a warning Created: 12/Dec/13 Updated: 10/Apr/22 Resolved: 13/Dec/13 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Robert Varga | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 241 |
| Description |
|
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.linkstate.rev131125.IsisAreaIdentifier contains the following code: public static List<Range<Integer>> getLength() { final List<Range<Integer>> result = new ArrayList<>(); List<Range<Integer>> lengthConstraints = new ArrayList<>(); result.add(Range.closed(20, 20)); return result; }Note that lengthConstraints is never touched, resulting in a warning being raised by Eclipse. |
| Comments |
| Comment by Martin Vitez [ 13/Dec/13 ] |
|
Fixed: |