<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:08:46 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-149] Binding DTOs: improve equals() implementation</title>
                <link>https://jira.opendaylight.org/browse/MDSAL-149</link>
                <project id="10137" key="MDSAL">mdsal</project>
                    <description>&lt;p&gt;+++ This bug was initially created as a clone of &lt;a href=&quot;https://jira.opendaylight.org/browse/MDSAL-88&quot; title=&quot;Binding DTOs: improve equals() implementation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MDSAL-88&quot;&gt;&lt;del&gt;MDSAL-88&lt;/del&gt;&lt;/a&gt; +++&lt;/p&gt;

&lt;p&gt;Our current equals() implementation visits each child node in alphabetical order. While this is correct, finding inequalities may take significant time, as we bore recursively into objects.&lt;/p&gt;

&lt;p&gt;Since the order of comparison does not determine the result of equality comparison, we can speed up detecting degatives if we employ some smarts. Those smarts is that some types can be compared more quickly than others, simply because they are terminal nodes.&lt;/p&gt;

&lt;p&gt;Teach the DTO generator code to recognize the types being compared and perform the following ordering:&lt;/p&gt;

&lt;p&gt;1) numeric types (boolean, byte, short, int, long, biginteger, bigdecimal), identityrefs&lt;br/&gt;
2) string, binary, bits&lt;br/&gt;
3) instance identifier&lt;br/&gt;
4) all other (e.g. composite) types&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26971">MDSAL-149</key>
            <summary>Binding DTOs: improve equals() implementation</summary>
                <type id="10102" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10316&amp;avatarType=issuetype">Sub-task</type>
                            <parent id="31946">MDSAL-470</parent>
                                        <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="10002">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="martin.ciglan">Martin Ciglan</reporter>
                        <labels>
                            <label>pt</label>
                    </labels>
                <created>Tue, 5 Apr 2016 13:32:51 +0000</created>
                <updated>Mon, 20 Jul 2020 11:14:31 +0000</updated>
                            <resolved>Mon, 20 Jul 2020 11:13:42 +0000</resolved>
                                                                    <component>Binding codegen</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="54283" author="martin.ciglan" created="Tue, 5 Apr 2016 13:34:32 +0000"  >&lt;p&gt;this is rather binding spec. v2 design improvement than part of design itself and it can be fixed later&lt;/p&gt;</comment>
                            <comment id="66582" author="rovarga" created="Sat, 16 Mar 2019 16:29:12 +0000"  >&lt;p&gt;Binding V2 is going away in 4.0.0.&lt;/p&gt;</comment>
                            <comment id="68456" author="rovarga" created="Mon, 20 Jul 2020 11:13:42 +0000"  >&lt;p&gt;Duplicate of &lt;a href=&quot;https://jira.opendaylight.org/browse/MDSAL-88&quot; title=&quot;Binding DTOs: improve equals() implementation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MDSAL-88&quot;&gt;&lt;del&gt;MDSAL-88&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="26910">MDSAL-88</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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>5670</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=5670]]></customfieldvalue>

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

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

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

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