From 0e2780a0ad6212a7bee9d204464504c6ed0e41a1 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Mon, 16 Sep 2013 14:33:54 +0300 Subject: [PATCH] Ensure string converter is always set Change-Id: I8c9146975397356e92fded0d0207b56d057ac6c5 --- .../server/component/abstractfield/AbsFieldValueConversions.java | 1 + 1 file changed, 1 insertion(+) diff --git a/server/tests/src/com/vaadin/tests/server/component/abstractfield/AbsFieldValueConversions.java b/server/tests/src/com/vaadin/tests/server/component/abstractfield/AbsFieldValueConversions.java index 9854296538..a5e825bddb 100644 --- a/server/tests/src/com/vaadin/tests/server/component/abstractfield/AbsFieldValueConversions.java +++ b/server/tests/src/com/vaadin/tests/server/component/abstractfield/AbsFieldValueConversions.java @@ -249,6 +249,7 @@ public class AbsFieldValueConversions extends TestCase { @Test public void testNullConverter() { TextField tf = new TextField("foo"); + tf.setConverter(new StringToIntegerConverter()); tf.setPropertyDataSource(new ObjectProperty(12)); tf.setConverter((Converter) null); try { -- 2.39.5