diff options
author | Artur Signell <artur@vaadin.com> | 2013-02-13 15:55:30 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2013-02-13 16:02:08 +0200 |
commit | c96cb1d955c2bc805e01d9561d108185d7fc1911 (patch) | |
tree | 6a1c93edfcca4d0cdea01bae34ee320c5902ae1c /uitest/src | |
parent | 41181659517f918aea14e82f5a042100a0d68fd8 (diff) | |
download | vaadin-framework-c96cb1d955c2bc805e01d9561d108185d7fc1911.tar.gz vaadin-framework-c96cb1d955c2bc805e01d9561d108185d7fc1911.zip |
Fixed NPE in test when value is null
Change-Id: I04e1f365535878a46744046ee271387c21d31956
Diffstat (limited to 'uitest/src')
-rw-r--r-- | uitest/src/com/vaadin/tests/components/combobox/ComboBoxDataSourceChange.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/components/combobox/ComboBoxDataSourceChange.java b/uitest/src/com/vaadin/tests/components/combobox/ComboBoxDataSourceChange.java index 1f2973ccb7..dea1deb9b5 100644 --- a/uitest/src/com/vaadin/tests/components/combobox/ComboBoxDataSourceChange.java +++ b/uitest/src/com/vaadin/tests/components/combobox/ComboBoxDataSourceChange.java @@ -86,8 +86,8 @@ public class ComboBoxDataSourceChange extends TestBase { cb2.addListener(new Property.ValueChangeListener() { @Override public void valueChange(ValueChangeEvent event) { - currentValue - .setValue(event.getProperty().getValue().toString()); + currentValue.setValue(String.valueOf(event.getProperty() + .getValue())); } }); } |