<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:09:40 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-384] YANG Data Object List Getters should return Immutable Lists (in Binding v2, only)</title>
                <link>https://jira.opendaylight.org/browse/MDSAL-384</link>
                <project id="10137" key="MDSAL">mdsal</project>
                    <description>&lt;p&gt;Unless I&apos;m totally mistaken, the current (v1) binding generated YANG Data Object classes have List getters which return mutable collections. This inconsistent with the fact that Data Objects are otherwise immutable. We should make any collections returned by such getters immutable.&lt;/p&gt;

&lt;p&gt;I believe I raised this 2 years ago on &lt;a href=&quot;https://lists.opendaylight.org/pipermail/yangtools-dev/2016-July/001508.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/yangtools-dev/2016-July/001508.html&lt;/a&gt; &amp;amp; Co. including &lt;a href=&quot;https://wiki.opendaylight.org/view/YANG_Tools:Design:Binding_Specification_v2_Analysis#Other_ideas_for_improving_the_v2_Binding_Spec&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/YANG_Tools:Design:Binding_Specification_v2_Analysis#Other_ideas_for_improving_the_v2_Binding_Spec&lt;/a&gt; but I cannot find an issue for this, so here it is.&lt;/p&gt;

&lt;p&gt;This is obviously a breaking change, so impossible for Binding v1, but something for Binding v2.&lt;/p&gt;

&lt;p&gt;The new non-null getters introduced in &lt;a href=&quot;https://jira.opendaylight.org/browse/MDSAL-18&quot; title=&quot;Return an empty list and never null from list-valued parameters in generated models&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MDSAL-18&quot;&gt;&lt;del&gt;MDSAL-18&lt;/del&gt;&lt;/a&gt; could then also return immutable empty lists, if null&lt;/p&gt;</description>
                <environment></environment>
        <key id="30995">MDSAL-384</key>
            <summary>YANG Data Object List Getters should return Immutable Lists (in Binding v2, only)</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="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="10001">Won&apos;t Do</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="vorburger">Michael Vorburger</reporter>
                        <labels>
                    </labels>
                <created>Fri, 9 Nov 2018 09:47:09 +0000</created>
                <updated>Fri, 9 Nov 2018 11:43:47 +0000</updated>
                            <resolved>Fri, 9 Nov 2018 11:43:47 +0000</resolved>
                                                                    <component>Binding V2 codegen</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="65533" author="rovarga" created="Fri, 9 Nov 2018 11:43:47 +0000"  >&lt;p&gt;The cost of sealing collections is quite huge, this simply does not pay off.&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|i03k9z:</customfieldvalue>

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