ContainerEventProvider for a Calendar component

Hi,

Why
ContainerEventProvide

r
not implement
CalendarEvent.EventChangeListener
interface as
BasicEventProvider
, but implements
EventChangeNotifier
interface?


ContainerEventProvider
does not notify about
Event
changes.

There is an code error in method
addEventChangeListener:

@Override public void addEventChangeListener(EventChangeListener listener) { if (eventChangeListeners.contains(listener)) { eventChangeListeners.add(listener); } } It must be:

    @Override
    public void addEventChangeListener(EventChangeListener listener) {
        if (!eventChangeListeners.contains(listener)) {
            eventChangeListeners.add(listener);
        }
    }

Field
eventChangeListeners
is private and absolutely useless because it is not used in the code and can not be used in classes inherits
ContainerEventProvider.

Thanks,
Dmitry.