From: Petri Heinonen Date: Thu, 23 Aug 2012 10:11:17 +0000 (+0300) Subject: refak listeners one missed listener fixed... X-Git-Tag: 7.0.0.beta1~210^2~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8cf552dd6961047afa5116cd576c5f3da2293a4e;p=vaadin-framework.git refak listeners one missed listener fixed... --- diff --git a/server/src/com/vaadin/data/util/AbstractBeanContainer.java b/server/src/com/vaadin/data/util/AbstractBeanContainer.java index f0eca6a571..cb09cdad46 100644 --- a/server/src/com/vaadin/data/util/AbstractBeanContainer.java +++ b/server/src/com/vaadin/data/util/AbstractBeanContainer.java @@ -741,6 +741,10 @@ public abstract class AbstractBeanContainer extends return new PropertyBasedBeanIdResolver(propertyId); } + /** + * @deprecated Since 7.0, replaced by {@link #addPropertySetChangeListener} + **/ + @Deprecated @Override public void addListener(Container.PropertySetChangeListener listener) { addPropertySetChangeListener(listener); @@ -752,6 +756,11 @@ public abstract class AbstractBeanContainer extends super.addPropertySetChangeListener(listener); } + /** + * @deprecated Since 7.0, replaced by + * {@link #removePropertySetChangeListener(com.vaadin.data.Container.PropertySetChangeListener)} + **/ + @Deprecated @Override public void removeListener(Container.PropertySetChangeListener listener) { removePropertySetChangeListener(listener);