<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:09:25 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-294] Add @CheckReturnValue on YANG RPC generated interfaces extending RpcService</title>
                <link>https://jira.opendaylight.org/browse/MDSAL-294</link>
                <project id="10137" key="MDSAL">mdsal</project>
                    <description>&lt;p&gt;Having a @CheckReturnValue annotation always generated would make perfect sense IMHO, because we could then use that in static code analysis to ensure that all users of the RPC do check the Future RpcResult for errors - even if there is no Output.&lt;/p&gt;

&lt;p&gt;The &quot;@CheckReturnValue on YANG RPC generated interfaces extending RpcService&quot; thread on &lt;a href=&quot;https://lists.opendaylight.org/pipermail/mdsal-dev/2017-November/thread.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/mdsal-dev/2017-November/thread.html&lt;/a&gt; has the full background.&lt;/p&gt;</description>
                <environment></environment>
        <key id="28681">MDSAL-294</key>
            <summary>Add @CheckReturnValue on YANG RPC generated interfaces extending RpcService</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="10004" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Verified</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="JieHan2017">Jie Han</assignee>
                                    <reporter username="JieHan2017">Jie Han</reporter>
                        <labels>
                    </labels>
                <created>Fri, 3 Nov 2017 00:45:52 +0000</created>
                <updated>Thu, 28 Jun 2018 23:33:58 +0000</updated>
                            <resolved>Thu, 28 Jun 2018 23:33:58 +0000</resolved>
                                                                    <component>Binding codegen</component>
                    <component>Binding V2 codegen</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="59903" author="vorburger" created="Fri, 3 Nov 2017 14:56:07 +0000"  >&lt;p&gt;This would be great!&lt;/p&gt;</comment>
                            <comment id="59913" author="jiehan2017" created="Sat, 4 Nov 2017 01:12:11 +0000"  >&lt;p&gt;Hi M. ,&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/65063&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/65063&lt;/a&gt;&lt;br/&gt;
I hava no idea about the failure, everythig goes well in my local environment,&lt;br/&gt;
Can you help me figure out why?&lt;/p&gt;</comment>
                            <comment id="59922" author="rovarga" created="Sat, 4 Nov 2017 10:24:21 +0000"  >&lt;p&gt;javax.annotation classes are not available in karaf&apos;s production environment.&lt;/p&gt;</comment>
                            <comment id="59928" author="jiehan2017" created="Mon, 6 Nov 2017 02:44:19 +0000"  >&lt;p&gt;Should we split the generator implementaion from runtime correlative in mdsal-binding-generator-impl,&lt;br/&gt;
and put it into a saperate  directory?&lt;/p&gt;</comment>
                            <comment id="59934" author="rovarga" created="Mon, 6 Nov 2017 12:58:05 +0000"  >&lt;p&gt;This change should be part of the generated template, which is already split out.&lt;/p&gt;</comment>
                            <comment id="59939" author="jiehan2017" created="Mon, 6 Nov 2017 14:56:07 +0000"  >&lt;p&gt;I see, I&apos;ll try to add it in template tomorrow. Thanks Robert.&lt;/p&gt;</comment>
                            <comment id="59940" author="rovarga" created="Mon, 6 Nov 2017 17:46:27 +0000"  >&lt;p&gt;Well, actually the problem is that you are referring to the annotation class itself &amp;#8211; were you to encode the string literals directly, your patch would work just fine&lt;/p&gt;</comment>
                            <comment id="59954" author="jiehan2017" created="Mon, 6 Nov 2017 23:44:32 +0000"  >&lt;p&gt;Yes, I have thought about the way using the string directly, but I feel that&apos;s not enough strict&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="60009" author="vorburger" created="Thu, 9 Nov 2017 16:53:56 +0000"  >&lt;p&gt;This is, naturally, good, impacting projects who have already enforced FindBugs non-violation and who do have code that ignores RPC returns.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/65379/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/65379/&lt;/a&gt; has related fix in genius. I&apos;m about to add a small new util in infrautils to make it easier.&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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03767:</customfieldvalue>

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