Question: why do you implement the same interface that is already implemented by the abstract class in the concrete class?

15 views
Skip to first unread message

weizh...@gmail.com

unread,
Dec 6, 2012, 3:12:18 PM12/6/12
to kaleid...@googlegroups.com
Hi there,

I'm just wondering why you are implementing the same interface that is already implemented by the abstract class in the concrete class, like in EhCacheImpl.class?

public class EhCacheImpl<K extends Serializable, V extends Serializable> extends AbstractCache<K, V> implements org.kaleidofoundry.core.cache.Cache<K, V> {

Thanks,

David

jraduget

unread,
Dec 7, 2012, 4:12:12 AM12/7/12
to kaleid...@googlegroups.com
Hi David,

You're right, it is not necessary, This is more a a personal habit, and not a best practice...

--
Jérôme
Reply all
Reply to author
Forward
0 new messages