From 304cd3f48a0e7729053491d6f2afc51b3947a240 Mon Sep 17 00:00:00 2001 From: Denis Anisimov Date: Mon, 15 Sep 2014 21:53:39 +0300 Subject: 3 args method buildAndBind should be overriden, not 2 args (#12453). Change-Id: I7afabec7e0d9334b799019b581fca858895b2cc1 --- uitest/src/com/vaadin/tests/fieldgroup/FormWithNestedProperties.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'uitest') diff --git a/uitest/src/com/vaadin/tests/fieldgroup/FormWithNestedProperties.java b/uitest/src/com/vaadin/tests/fieldgroup/FormWithNestedProperties.java index f66d822495..6caa8f3e26 100644 --- a/uitest/src/com/vaadin/tests/fieldgroup/FormWithNestedProperties.java +++ b/uitest/src/com/vaadin/tests/fieldgroup/FormWithNestedProperties.java @@ -31,8 +31,8 @@ public class FormWithNestedProperties extends AbstractBeanFieldGroupTest { super.setup(); setFieldBinder(new BeanFieldGroup(Person.class)); - country = getFieldBinder().buildAndBind("country", "address.country", - NativeSelect.class); + country = (NativeSelect) getFieldBinder().buildAndBind("country", + "address.country", NativeSelect.class); getFieldBinder().bindMemberFields(this); addComponent(firstName); addComponent(lastName); -- cgit v1.2.3