diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-10-04 06:21:45 +0000 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2012-10-04 06:21:45 +0000 |
commit | 7fbe0ffd7c967728a1e437d0cbe03722ed9f1b6e (patch) | |
tree | 2ac8e7a13db80beb706e4257fb02d4f3d423a5c1 | |
parent | 2259895376e7c502acb5dc2ab92dee8102f84bd8 (diff) | |
parent | 22397fed1c2c7461aceb191291fe89ffd403fe26 (diff) | |
download | vaadin-framework-7fbe0ffd7c967728a1e437d0cbe03722ed9f1b6e.tar.gz vaadin-framework-7fbe0ffd7c967728a1e437d0cbe03722ed9f1b6e.zip |
Merge "Avoid NPEs in integration test"
-rw-r--r-- | uitest/src/com/vaadin/tests/integration/IntegrationTestApplication.java | 2 | ||||
-rwxr-xr-x | uitest/src/com/vaadin/tests/integration/IntegrationTestUI.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/integration/IntegrationTestApplication.java b/uitest/src/com/vaadin/tests/integration/IntegrationTestApplication.java index 41b7b020f5..916af7129e 100644 --- a/uitest/src/com/vaadin/tests/integration/IntegrationTestApplication.java +++ b/uitest/src/com/vaadin/tests/integration/IntegrationTestApplication.java @@ -38,7 +38,7 @@ public class IntegrationTestApplication extends LegacyApplication { table.addListener(new ValueChangeListener() { @Override public void valueChange(ValueChangeEvent event) { - selectedLabel.setValue(table.getValue().toString()); + selectedLabel.setValue(String.valueOf(table.getValue())); } }); window.addComponent(selectedLabel); diff --git a/uitest/src/com/vaadin/tests/integration/IntegrationTestUI.java b/uitest/src/com/vaadin/tests/integration/IntegrationTestUI.java index 05683e7b4e..61214ede8c 100755 --- a/uitest/src/com/vaadin/tests/integration/IntegrationTestUI.java +++ b/uitest/src/com/vaadin/tests/integration/IntegrationTestUI.java @@ -34,7 +34,7 @@ public class IntegrationTestUI extends UI { table.addValueChangeListener(new ValueChangeListener() { @Override public void valueChange(ValueChangeEvent event) { - selectedLabel.setValue(table.getValue().toString()); + selectedLabel.setValue(String.valueOf(table.getValue())); } }); addComponent(selectedLabel); |