For arguments is not required to use specific type now and if we change setters a compatibility on compilation level with previous versions might be broken in methods *setEvictionFilter(..), setCacheStoreFactory(..) and setInterceptor(..)*.
On Tue, Jun 30, 2015 at 12:26 AM, Dmitriy Setrakyan <dsetrak...@apache.org> wrote: > Igniters, > > I just noticed that we have added chaining for CacheConfiguration, however, > it seems that we did not propagate the generics. > > CacheConfigruration is declared with <K, V>, but the returned > CacheConfiguration instance from any of the setter methods looses Generics > information. > > Was this done on purpose or by mistake? > > D. >