[jira] Closed: (OFBIZ-515) Replace string comparison with != or == by .equals

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-515) Replace string comparison with != or == by .equals

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacopo Cappellato closed OFBIZ-515.
-----------------------------------

    Resolution: Fixed

Stefan,

thanks your last patch is in rev. 514196


> Replace string comparison with != or == by .equals
> --------------------------------------------------
>
>                 Key: OFBIZ-515
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-515
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>            Reporter: Stefan Huehner
>         Assigned To: Jacopo Cappellato
>         Attachments: ofbiz_string_compare.diff, ofbiz_string_compare2.diff
>
>
> Attached patch converts several string comparisons to use the standard .equals form as it is not clear in the code
> that the special check if both string point to exactly same object is applicable there.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.