aboutsummaryrefslogtreecommitdiffstats
path: root/server/tests
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2012-11-14 15:13:21 +0200
committerHenri Sara <hesara@vaadin.com>2012-11-14 15:13:21 +0200
commit259b441265677906631c923d8fe51f549adfc120 (patch)
treebb44a5bc05eb914d3f9538898900d9605c336e9f /server/tests
parentaca92f4937cc54f122b20c4bfb6288ee007c9e47 (diff)
downloadvaadin-framework-259b441265677906631c923d8fe51f549adfc120.tar.gz
vaadin-framework-259b441265677906631c923d8fe51f549adfc120.zip
Remove Window.addComponent() (#2924)
Change-Id: Ida3269e3cce906fd4b55c5e1049b24e0ff383289
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/src/com/vaadin/data/util/sqlcontainer/TicketTests.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/src/com/vaadin/data/util/sqlcontainer/TicketTests.java b/server/tests/src/com/vaadin/data/util/sqlcontainer/TicketTests.java
index deebe9a08e..6e95aff027 100644
--- a/server/tests/src/com/vaadin/data/util/sqlcontainer/TicketTests.java
+++ b/server/tests/src/com/vaadin/data/util/sqlcontainer/TicketTests.java
@@ -44,7 +44,7 @@ public class TicketTests {
"SELECT * FROM people", Arrays.asList("ID"), connectionPool));
Table table = new Table();
Window w = new Window();
- w.addComponent(table);
+ w.setContent(table);
table.setContainerDataSource(container);
}