You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacopo Cappellato (JIRA)" <ji...@apache.org> on 2007/03/03 18:19:50 UTC
[jira] Closed: (OFBIZ-515) Replace string comparison with != or ==
by .equals
[ 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.