aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2016-02-05 17:30:56 +0200
committerTeemu Suo-Anttila <teemusa@vaadin.com>2016-02-05 17:30:56 +0200
commitaedebc2b57bbf1311af0f97010be8aeeeb22aa19 (patch)
tree274393546da206e3f78618e3fbb5379e1746f3ba
parent9d42af60ad77b5cf1ad619af4630d1206ad0025c (diff)
downloadvaadin-framework-aedebc2b57bbf1311af0f97010be8aeeeb22aa19.tar.gz
vaadin-framework-aedebc2b57bbf1311af0f97010be8aeeeb22aa19.zip
Fix TypedDataGenerator removal from DataProvider
Change-Id: Iadc8d58d790a6b42ab96bded68009191736705d7
-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);
}
/**