[jbossts-issues] [JBoss JIRA] (JBTM-1031) == replaced with equals() in objects comparison where appropriate
Gytis Trikleris (JIRA)
jira-events at lists.jboss.org
Mon Jan 21 05:58:21 EST 2013
[ https://issues.jboss.org/browse/JBTM-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gytis Trikleris updated JBTM-1031:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> == 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: 4.17.4, 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