aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/src/com/vaadin/server/communication/data/typed/DataProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/com/vaadin/server/communication/data/typed/DataProvider.java b/server/src/com/vaadin/server/communication/data/typed/DataProvider.java
index d2fa859aba..40cb147e9e 100644
--- a/server/src/com/vaadin/server/communication/data/typed/DataProvider.java
+++ b/server/src/com/vaadin/server/communication/data/typed/DataProvider.java
@@ -202,7 +202,7 @@ public abstract class DataProvider<T> extends AbstractExtension {
* typed data generator
*/
public void removeDataGenerator(TypedDataGenerator<T> generator) {
- generators.add(generator);
+ generators.remove(generator);
}
/**