<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:08:49 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[MDSAL-166] Wrong placement of deprecated annotation</title>
                <link>https://jira.opendaylight.org/browse/MDSAL-166</link>
                <project id="10137" key="MDSAL">mdsal</project>
                    <description>&lt;p&gt;There are 3 misplacements:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;we have unexpected javadoc annotation inside of yang model citation&lt;/li&gt;
	&lt;li&gt;we miss java and javadoc annotations for leaves&lt;/li&gt;
	&lt;li&gt;we miss correctly placed javadoc annotation&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Yang citation in javadoc shall not contain any annotations.&lt;br/&gt;
In case of leaf the only available place for both annotations is above getter.&lt;br/&gt;
In case of sub-container - both annotations can be placed above corresponding getter in parent structure or inside the container&apos;s interface.&lt;/p&gt;


&lt;p&gt;consider this yang fragment:&lt;br/&gt;
list my-list {&lt;br/&gt;
            key ip-prefix;&lt;br/&gt;
            leaf ip-prefix &lt;/p&gt;
{
                type inet:ip-prefix;
            }
&lt;p&gt;            leaf l3-context &lt;/p&gt;
{
               status deprecated;
               type gbp-common:context-id;
               mandatory true;
            }
&lt;p&gt;            container network-containment &lt;/p&gt;
{
                status deprecated;
                uses some-grouping;
            }
&lt;p&gt;        }&lt;/p&gt;


&lt;p&gt;Then the top level interface has following javadoc (containing 2 unexpected @deprecated annotations):&lt;br/&gt;
...&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&amp;lt;pre&amp;gt;&lt;/li&gt;
	&lt;li&gt;list my-list {&lt;/li&gt;
	&lt;li&gt;key &quot;ip-prefix&quot;&lt;/li&gt;
	&lt;li&gt;leaf ip-prefix 
{
 *         type ip-prefix;
 *     }&lt;/li&gt;
	&lt;li&gt;@deprecated - status DEPRECATED&lt;/li&gt;
	&lt;li&gt;leaf l3-context 
{
 *         type context-id;
 *         status DEPRECATED;
 *     }&lt;/li&gt;
	&lt;li&gt;@deprecated - status DEPRECATED&lt;/li&gt;
	&lt;li&gt;container network-containment 
{
 *         .. items from grouping
 *         uses network-domain-key;
 *         status DEPRECATED;
 *     }&lt;/li&gt;
	&lt;li&gt;}&lt;/li&gt;
	&lt;li&gt;&amp;lt;/pre&amp;gt;&lt;br/&gt;
...&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Generated getters look like this (no java nor javadoc annotations):&lt;br/&gt;
    /**&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;The context for the endpoint&apos;s layer 3 address&lt;br/&gt;
     *&lt;br/&gt;
     */&lt;br/&gt;
    ContextId getL3Context();&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;    /**&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;The network domain associated with this endpoint&apos;s fowarding context.&lt;br/&gt;
     *&lt;br/&gt;
     */&lt;br/&gt;
    NetworkContainment getNetworkContainment();&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;And NetworkContainment javadoc looks following (unexpected javadoc annotation and correct java annotation below):&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&amp;lt;pre&amp;gt;&lt;/li&gt;
	&lt;li&gt;@deprecated - status DEPRECATED&lt;/li&gt;
	&lt;li&gt;container network-containment 
{
 *     .. items from grouping
 *     uses network-domain-key;
 *     status DEPRECATED;
 * }&lt;/li&gt;
	&lt;li&gt;&amp;lt;/pre&amp;gt;&lt;br/&gt;
 *...&lt;br/&gt;
 */&lt;br/&gt;
@Deprecated&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26988">MDSAL-166</key>
            <summary>Wrong placement of deprecated annotation</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="filip.gregor@pantheon.tech">Filip Gregor</assignee>
                                    <reporter username="michal.rehak">Michal Rehak</reporter>
                        <labels>
                    </labels>
                <created>Thu, 12 May 2016 14:06:25 +0000</created>
                <updated>Fri, 9 Mar 2018 18:00:15 +0000</updated>
                            <resolved>Fri, 27 May 2016 07:12:06 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="54321" author="filip.gregor@pantheon.tech" created="Wed, 18 May 2016 12:16:51 +0000"  >&lt;p&gt;proposed fix &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/38859/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/38859/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="54322" author="rovarga" created="Thu, 26 May 2016 13:10:17 +0000"  >&lt;p&gt;master fixed, needs backport to Be.&lt;/p&gt;</comment>
                            <comment id="54323" author="filip.gregor@pantheon.tech" created="Fri, 27 May 2016 07:12:06 +0000"  >&lt;p&gt;backport to Be &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/39508/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/39508/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5882</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=5882]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10341"><![CDATA[Beryllium-3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02wpz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>