JD Your explanation was very helpful ! Thanks for replying !
On Mon, May 10, 2010 at 10:29 PM, Jean-Daniel Cryans <jdcry...@apache.org>wrote: > Two things: > > First TableMap was using the raw type instead of a generic one, this > was fixed in https://issues.apache.org/jira/browse/HBASE-876 > > Then it wasn't generic enough, so this was filed > https://issues.apache.org/jira/browse/HBASE-1725 > > That's the explanation. I remember having the same issue when I > migrated my code to 0.20, but it's nothing you can't resolve, just > inspect the compilation error messages and you'll figure it out. > > J-D > > On Mon, May 10, 2010 at 3:28 AM, bharath v > <bharathvissapragada1...@gmail.com> wrote: > > Hey folks , > > > > I have a small question regarding TableMap class. I know it is deprecated > in > > 0.20.3 , > > > > But the declaration was changed from > > > > public interface TableMap<K extends WritableComparable, V extends > Writable> > > extends Mapper<ImmutableBytesWritable, RowResult, K, V> > > > > TO > > > > public interface TableMap<K extends WritableComparable<? super K>, V > extends > > Writable> > > extends Mapper<ImmutableBytesWritable, RowResult, K, V> { > > > > > > Why is there an additional restriction on K that "<? super K>" . > Because > > of this my app written for 0.19.3 isn't getting compiled now . > > > > Any suggestions or comments? > > > > Thanks > > >