[OVSDB-129] equals check in LoadBalancerConfiguration.java needs to be tweaked Created: 04/Nov/14  Updated: 06/Nov/14  Resolved: 06/Nov/14

Status: Resolved
Project: ovsdb
Component/s: Other
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Flavio Fernandes Assignee: Srini Seetharaman
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 2316

 Description   

From: Srini Seetharaman srini.seetharaman@gmail.com
Sent: Monday, November 3, 2014 11:41 AM
To: Flavio Fernandes
Cc: Koontz, Marcus G; Sam Hague
Subject: Re: Sonar Issues: Naming - Suspicious equals method name

Hi Flavio, Marcus:
I did mean to override the equals to check on all parameters while ignoring
the index. But, looks like I did a poor job at the equals check, especially
with the string values. I can push a fix and add the @Override qualifier. Did
you have something else in mind?

Srini.

On Mon, Nov 3, 2014 at 10:53 AM, Flavio Fernandes <ffernand@redhat.com
<ffernand@redhat.com> > wrote:

Hi Srini,

From sonar’s comments that Marcus added:

http://sonar.opendaylight.org/drilldown/issues/14975?&rule=pmd%3ASuspiciousEqualsMethodName&rule_sev=CRITICAL&severity=CRITICAL#

"Unsure of whether overriding equals() was purposeful. Will check on mailing
list."

Being the one most familiar with ‘LoadBalancerConfiguration.java’ I thought
of connecting the dots to make sure you have seen this.
Any comments?

Thanks!

— flavio



 Comments   
Comment by Flavio Fernandes [ 05/Nov/14 ]

https://git.opendaylight.org/gerrit/#/c/12509/

Generated at Wed Feb 07 20:35:35 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.