+1 Suraj,
If value of 'attributes' is not getting populated in DB then it should be
replaced.

-- 
Thanks & Regards
---
Arun Patidar
Manager, Enterprise Software Development


HotWax Systems Pvt Ltd.www.hotwaxsystems.com


On Tue, May 9, 2017 at 10:31 AM, Suraj Khurana <
[email protected]> wrote:

> Hi Devs,
>
> I am curious about some protected data members of ShoppingCartItem and
> ShoppingCart class.
> ShoppingCartItem contains:
>
>
>
> *private Map<String, String> orderItemAttributes = null;private Map<String,
> Object> attributes = null;*
> While ShoppingCart have:
>
> *private Map<String, String> orderAttributes = FastMap.newInstance();*
> *private Map<String, Object> attributes = FastMap.newInstance();*
>
> I think orderAttributes and orderItemAttributes are pretty clear by the
> name itself, what is the actual use of *attributes* data member for each
> class.
>
> Can this be removed and replaced with orderAttribute or orderItemAttribute
> itself?
>
> --
> Thanks and Regards,
> Suraj Khurana
> Sr. Enterprise Software Engineer
> HotWax Systems - The global leader in innovative enterprise commerce
> solutions powered by Apache OFBiz.
>

Reply via email to