You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Ashish Vijaywargiya (JIRA)" <ji...@apache.org> on 2010/02/18 09:20:27 UTC

[jira] Closed: (OFBIZ-3478) Compares the specified object with this cart item is not in the right way.

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

Ashish Vijaywargiya closed OFBIZ-3478.
--------------------------------------

    Resolution: Fixed

Thanks Amit for the contribution - Done at r910513.

--
Ashish Vijaywargiya

> Compares the specified object with this cart item is not in the right way.
> --------------------------------------------------------------------------
>
>                 Key: OFBIZ-3478
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3478
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Amit Sharma
>            Assignee: Ashish Vijaywargiya
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3478.patch, OFBIZ-3478.patch
>
>
> In ShoppingCartItem.java compares of the specified object with this cart item is not in the right way.
> It should be
> if (!this.reservLength.equals(reservLength)) {
>    return false;
> }
> instead of 
> if (this.reservLength != reservLength) {
>    return false;
> }

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