[jbossts-issues] [JBoss JIRA] (JBTM-1031) == replaced with equals() in objects comparison where appropriate
Paul Robinson (JIRA)
jira-events at lists.jboss.org
Wed Jan 16 04:08:22 EST 2013
[ https://issues.jboss.org/browse/JBTM-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Robinson updated JBTM-1031:
--------------------------------
Summary: == replaced with equals() in objects comparison where appropriate (was: Search for "<String.class> == <String.class>" bugs)
> == replaced with equals() in objects comparison where appropriate
> -----------------------------------------------------------------
>
> Key: JBTM-1031
> URL: https://issues.jboss.org/browse/JBTM-1031
> Project: JBoss Transaction Manager
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: XTS
> Reporter: Paul Robinson
> Assignee: Gytis Trikleris
> Priority: Minor
> Fix For: 5.0.0.M2
>
> Time Spent: 1 hour, 20 minutes
> Remaining Estimate: 0 minutes
>
> A recent bug in XTS recovery was caused by the use of == to compare Strings. String#equals(...) should have been used.
> We need to search the XTS codebase for other occurrences of this type of bug.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossts-issues
mailing list