Thomas Koch 2011-09-23, 08:16
Tom Klonikowski 2011-09-23, 09:31
that's right tom. many of those interfaces were put in by design so
that later we can have other implementations, some of them were not
there originally. i agree thomas that it is a pain that you have to do
two clicks in eclipse to get to the actual implementation.
i believe the beans are used for jmx.
On Fri, Sep 23, 2011 at 2:31 AM, Tom Klonikowski <[EMAIL PROTECTED]> wrote:
> Hi Thomas,
> just because there's only one implementation doesn't mean they're
> unnecessary. Think about implementations yet to come - e.g. imagine
> storing a snapshot into some kind of distributed fs or memory.
> I think those interfaces exist by design.
> Am 23.09.2011 10:16, schrieb Thomas Koch:
>> there are some interfaces in the ZK code that have only one implementation. I
>> propose to get rid of the interfaces and use the classes directly:
>> There are other interfaces, named *Bean, which seem to be necessary, but I
>> don't know about beans.
>> - Browsing the code gets harder since the IDE always jumps to the interface,
>> instead of to the implementation.
>> - Changing the method signatures involves changing the interface and the
>> - There are more things in the code base to confuse you.
>> May I fill an issue and upload a patch?
>> Thomas Koch, http://www.koch.ro
Patrick Hunt 2011-09-23, 15:39