[jbossts-issues] [JBoss JIRA] (JBTM-1031) == replaced with equals() in objects comparison where appropriate

Paul Robinson (JIRA) jira-events at lists.jboss.org
Thu Jan 17 03:20:21 EST 2013


    [ https://issues.jboss.org/browse/JBTM-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12746354#comment-12746354 ] 

Paul Robinson commented on JBTM-1031:
-------------------------------------

I've just added 4.17.4 to the fix version. Can you cherry-pick your commit from master and raise a pull request on 4.17?
                
> == 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