<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:47:52 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>[VTN-47] FindBugs detected bugs in manager.neutron bundle.</title>
                <link>https://jira.opendaylight.org/browse/VTN-47</link>
                <project id="10185" key="VTN">vtn</project>
                    <description>&lt;p&gt;FindBugs detected bugs in manager.neutron bundle.&lt;/p&gt;

&lt;p&gt;1. OVSDBPluginEventHandler.getSwitchIdFromInterface() may cause NPE because it&lt;br/&gt;
   dereferences Port instance before null check.&lt;/p&gt;

&lt;p&gt;     Port port = ovsdbConfigService.getTypedRow(node, Port.class, ovsdbConfigService.getRow(node, &quot;Port&quot;, portId.toString()));&lt;br/&gt;
     LOG.trace(&quot; Node or Port getRow ={} &quot;, port.getRow());&lt;/p&gt;

&lt;p&gt;2. The following fields in OVSDBPluginEventHandler class should not be static&lt;br/&gt;
   because they are handled by instance methods only.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;integrationBridgeName&lt;/li&gt;
	&lt;li&gt;failmode&lt;/li&gt;
	&lt;li&gt;protocols&lt;/li&gt;
	&lt;li&gt;portname&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;3. OVSDBPluginEventHandler.getSystemProperties() should close FileInputStream.&lt;/p&gt;

&lt;p&gt;     try &lt;/p&gt;
{
         File f = new File(&quot;configuration/vtn.ini&quot;);
         String filepath = f.getAbsolutePath();
         FileInputStream in = new FileInputStream(filepath);
         configProp.load(in);
         LOG.trace(&quot;loaded Integration bridge Configuartion details from vtn.ini&quot;);
     }
&lt;p&gt; catch (Exception e) {&lt;br/&gt;
         LOG.trace(&quot;Exception {} occured while reading SystemProperties &quot;, e);&lt;br/&gt;
     }&lt;/p&gt;

&lt;p&gt;4. PortHandler.canModifyInterface() uses &quot;==&quot; operator to compare Boolean&lt;br/&gt;
   instances. Naturally it should be done by equals(Object) method.&lt;/p&gt;

&lt;p&gt;     Boolean portAdminState = port.getAdminStateUp();&lt;br/&gt;
     if ((portAdminState != null) &amp;amp;&amp;amp; (portAdminState != vIf.getEnabled())) &lt;/p&gt;
{
         modify = true;
     }</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26427">VTN-47</key>
            <summary>FindBugs detected bugs in manager.neutron bundle.</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="-1">Unassigned</assignee>
                                    <reporter username="yasuda">Shigeru Yasuda</reporter>
                        <labels>
                    </labels>
                <created>Wed, 22 Oct 2014 10:30:41 +0000</created>
                <updated>Thu, 3 May 2018 15:45:10 +0000</updated>
                            <resolved>Thu, 23 Oct 2014 11:11:23 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>VTN Manager</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="52876" author="yasuda" created="Wed, 22 Oct 2014 10:39:47 +0000"  >&lt;p&gt;Patch for master:  &lt;a href=&quot;https://git.opendaylight.org/gerrit/12141&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/12141&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="52877" author="yasuda" created="Thu, 23 Oct 2014 11:11:23 +0000"  >&lt;p&gt;Patch for stable/helium:  &lt;a href=&quot;https://git.opendaylight.org/gerrit/12182&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/12182&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>2239</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=2239]]></customfieldvalue>

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

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