good point, I'll do that part of ISPN-3478.
On Sep 12, 2013, at 4:09 PM, Galder Zamarreño <galder(a)redhat.com> wrote:
Hi,
If MarshalledEntry is generalized with <K, V>, shouldn't MarshalledEntryImpl be
too?
Imagine I have:
CacheWriter<Integer, String> boundedStore = new SingleFileStore();
Trying to write throws a unchecked assinment warning when it shouldn't since I'm
using the <K, V> and types expected by the CacheWriter:
boundedStore.write(new MarshalledEntryImpl(1, "v1", null, getMarshaller()));
Cheers,
--
Galder Zamarreño
galder(a)redhat.com
twitter.com/galderz
Project Lead, Escalante
http://escalante.io
Engineer, Infinispan
http://infinispan.org
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev
Cheers,
--
Mircea Markus
Infinispan lead (
www.infinispan.org)