[webbeans-dev] equals() on ConversationImpl

Nicklas Karlsson nickarls at gmail.com
Thu Apr 16 01:26:49 EDT 2009


Makes sense if there are no other objections

And on a related note, should the proxy delegate equals/hashCode to
the instance?

On Thu, Apr 16, 2009 at 5:09 AM, Clint Popetz <cpopetz at gmail.com> wrote:
> Hi,
>
> Knowing that equals()/hashCode() commits can often lead to month-long
> debates, I thought I'd ask first...is it ok to add an equals() on
> ConversationImpl that compares cids?  The reason I ask is that I want
> to put ConversationManager.getLongRunningConversations() into a
> <select/> in my wicket example, and the built-in wicket component for
> this checks equals() to determine which is option is selected.  The
> default == test won't work because of proxies.  (It also seems
> reasonable to me that users would want to stick Conversations in
> collections.)
>
> Thanks,
> -Clint
> _______________________________________________
> webbeans-dev mailing list
> webbeans-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/webbeans-dev
>



-- 
---
Nik




More information about the weld-dev mailing list