Re: Java Client and clobber update

2015-01-14 Thread Cosmin Marginean
Hi Brian, Thank you for your prompt reply, I thought that might be the case (and I agree, the way generics ended up being implemented is sadistic) I went with B) already but I wanted to make sure this is recorded. I filed this here for reference: https://github.com/basho/riak-java-client/issue

Re: Java Client and clobber update

2015-01-14 Thread Brian Roach
Cosmin - It would appear that the crazy generics involved are indeed broken when it comes to UpdateValue the "ClobberUpdate" - it's not pulling out the type correctly. I'll have to try and figure out why that is. Type erasure will make you weep ;) Two ways to deal with it at the moment: A) Pass