diff options
author | Leif Åstrand <legioth@gmail.com> | 2016-12-12 14:16:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-12 14:16:41 +0200 |
commit | 3fd092837797c1a6e3de86e5f07327184a8d46da (patch) | |
tree | 0e24ebc1e124762826f1bbb26d8084d95590234c /server | |
parent | ae567a02f3c397225c818c7387cb49545a4d5b4a (diff) | |
download | vaadin-framework-3fd092837797c1a6e3de86e5f07327184a8d46da.tar.gz vaadin-framework-3fd092837797c1a6e3de86e5f07327184a8d46da.zip |
Remove unused removeListener method (#7958)
* Remove unused removeListener method
Diffstat (limited to 'server')
-rw-r--r-- | server/src/main/java/com/vaadin/server/data/AbstractDataProvider.java | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/server/src/main/java/com/vaadin/server/data/AbstractDataProvider.java b/server/src/main/java/com/vaadin/server/data/AbstractDataProvider.java index c7aedfd10a..1ab21a3125 100644 --- a/server/src/main/java/com/vaadin/server/data/AbstractDataProvider.java +++ b/server/src/main/java/com/vaadin/server/data/AbstractDataProvider.java @@ -73,26 +73,6 @@ public abstract class AbstractDataProvider<T, F> implements DataProvider<T, F> { } /** - * Removes all registered listeners matching the given parameters. Since - * this method receives the event type and the listener object as - * parameters, it will unregister all <code>object</code>'s methods that are - * registered to listen to events of type <code>eventType</code> generated - * by this component. - * - * @param eventType - * the exact event type the <code>object</code> listens to. - * @param listener - * the target object that has registered to listen to events of - * type <code>eventType</code> with one or more methods. - */ - protected void removeListener(Class<?> eventType, - DataProviderListener listener) { - if (eventRouter != null) { - eventRouter.removeListener(eventType, listener); - } - } - - /** * Sends the event to all listeners. * * @param event |