aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/components/combobox/NewItemsESCPress.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/components/combobox/NewItemsESCPress.java')
-rw-r--r--uitest/src/com/vaadin/tests/components/combobox/NewItemsESCPress.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/uitest/src/com/vaadin/tests/components/combobox/NewItemsESCPress.java b/uitest/src/com/vaadin/tests/components/combobox/NewItemsESCPress.java
index 00e9242a7a..0acb4a3c1d 100644
--- a/uitest/src/com/vaadin/tests/components/combobox/NewItemsESCPress.java
+++ b/uitest/src/com/vaadin/tests/components/combobox/NewItemsESCPress.java
@@ -19,7 +19,7 @@ public class NewItemsESCPress extends TestBase {
box.setNewItemHandler(new NewItemHandler() {
@Override
public void addNewItem(String newItemCaption) {
- String value = (String) addedItems.getValue();
+ String value = addedItems.getValue();
addedItems.setValue(value + newItemCaption + "\n");
box.addItem(newItemCaption);
}