From 8cf552dd6961047afa5116cd576c5f3da2293a4e Mon Sep 17 00:00:00 2001 From: Petri Heinonen Date: Thu, 23 Aug 2012 13:11:17 +0300 Subject: [PATCH] refak listeners one missed listener fixed... --- .../src/com/vaadin/data/util/AbstractBeanContainer.java | 9 +++++++++ 1 file changed, 9 insertions(+) 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); -- 2.39.5