[MDSAL-166] Wrong placement of deprecated annotation Created: 12/May/16 Updated: 09/Mar/18 Resolved: 27/May/16 |
|
| Status: | Resolved |
| Project: | mdsal |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Michal Rehak | Assignee: | Filip Gregor |
| 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: | 5882 |
| Description |
|
There are 3 misplacements:
Yang citation in javadoc shall not contain any annotations. consider this yang fragment: leaf l3-context { status deprecated; type gbp-common:context-id; mandatory true; }container network-containment { status deprecated; uses some-grouping; }} Then the top level interface has following javadoc (containing 2 unexpected @deprecated annotations):
Generated getters look like this (no java nor javadoc annotations):
/**
And NetworkContainment javadoc looks following (unexpected javadoc annotation and correct java annotation below):
|
| Comments |
| Comment by Filip Gregor [ 18/May/16 ] |
|
proposed fix https://git.opendaylight.org/gerrit/#/c/38859/ |
| Comment by Robert Varga [ 26/May/16 ] |
|
master fixed, needs backport to Be. |
| Comment by Filip Gregor [ 27/May/16 ] |
|
backport to Be https://git.opendaylight.org/gerrit/#/c/39508/ |