Re: Why does wicket use Serializable contracts in generics?

2011-03-29 Thread Igor Vaynberg
thats there to give developers a better hint. i am not too opposed to removing it. feel free to file an rfe. -igor On Tue, Mar 29, 2011 at 3:08 AM, Pointbreak wrote: > For example in Session there is the method: > > public final M getMetaData(final MetaDataKey > key) > > This makes it seriousl

Why does wicket use Serializable contracts in generics?

2011-03-29 Thread Pointbreak
For example in Session there is the method: public final M getMetaData(final MetaDataKey key) This makes it seriously difficult to use this methods for retrieving vales that have e.g. a MetaDataKey>, since Collection does not extend Serializable (although most implementations do). Afaik, you can