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
[email protected]
twitter.com/galderz

Project Lead, Escalante
http://escalante.io

Engineer, Infinispan
http://infinispan.org


_______________________________________________
infinispan-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/infinispan-dev

Reply via email to