[jboss-jira] [JBoss JIRA] Created: (JBCLUSTER-229) Comparison of String objects using == in FamilyClusterInfoImpl.equals(Object)

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Mar 31 23:26:22 EDT 2009


Comparison of String objects using == in FamilyClusterInfoImpl.equals(Object) 
------------------------------------------------------------------------------

                 Key: JBCLUSTER-229
                 URL: https://jira.jboss.org/jira/browse/JBCLUSTER-229
             Project: JBoss Clustering
          Issue Type: Bug
      Security Level: Public (Everyone can see)
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
            Priority: Minor
             Fix For: HA-Client 2.0.0.BETA1


return fr.familyName == this.familyName;

Minor issue as this is semi-valid since the familyName field comes via ClusteringTargetsRepository, which ensures only a single String gets passed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list