summaryrefslogtreecommitdiffstats
path: root/server/src/com
diff options
context:
space:
mode:
authorDenis Anisimov <denis@vaadin.com>2014-09-15 21:53:39 +0300
committerVaadin Code Review <review@vaadin.com>2014-12-18 21:35:43 +0000
commit304cd3f48a0e7729053491d6f2afc51b3947a240 (patch)
tree4258a60c75f4d9c8dc30de7a1aaedb43fc2a714e /server/src/com
parent3c181c6e31749f90a8d9c0d78715fe65aa861b74 (diff)
downloadvaadin-framework-304cd3f48a0e7729053491d6f2afc51b3947a240.tar.gz
vaadin-framework-304cd3f48a0e7729053491d6f2afc51b3947a240.zip
3 args method buildAndBind should be overriden, not 2 args (#12453).
Change-Id: I7afabec7e0d9334b799019b581fca858895b2cc1
Diffstat (limited to 'server/src/com')
-rw-r--r--server/src/com/vaadin/data/fieldgroup/BeanFieldGroup.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/com/vaadin/data/fieldgroup/BeanFieldGroup.java b/server/src/com/vaadin/data/fieldgroup/BeanFieldGroup.java
index 23a72ee1e5..0a92c00cad 100644
--- a/server/src/com/vaadin/data/fieldgroup/BeanFieldGroup.java
+++ b/server/src/com/vaadin/data/fieldgroup/BeanFieldGroup.java
@@ -155,10 +155,10 @@ public class BeanFieldGroup<T> extends FieldGroup {
}
@Override
- public Field<?> buildAndBind(String caption, Object propertyId)
- throws BindException {
+ public <T extends Field> T buildAndBind(String caption, Object propertyId,
+ Class<T> fieldType) throws BindException {
ensureNestedPropertyAdded(propertyId);
- return super.buildAndBind(caption, propertyId);
+ return super.buildAndBind(caption, propertyId, fieldType);
}
@Override