diff options
author | Johannes Dahlström <johannesd@vaadin.com> | 2013-04-11 18:26:51 +0300 |
---|---|---|
committer | Johannes Dahlström <johannesd@vaadin.com> | 2013-04-11 18:30:12 +0300 |
commit | 2cb32194f623c45cf5e8eed47ccf69a372eda813 (patch) | |
tree | 7d0343c2cf48807d035964c54617af429bd013b8 /server/src/com/vaadin/ui | |
parent | c89b2e6556b1432cb2b5f9de2868f3104b7ff000 (diff) | |
download | vaadin-framework-2cb32194f623c45cf5e8eed47ccf69a372eda813.tar.gz vaadin-framework-2cb32194f623c45cf5e8eed47ccf69a372eda813.zip |
Fix minor issues raised in #111 code review
Change-Id: Ibca25fea1d08e98271e68e3d4703afe5aeaae182
Diffstat (limited to 'server/src/com/vaadin/ui')
-rw-r--r-- | server/src/com/vaadin/ui/UI.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/com/vaadin/ui/UI.java b/server/src/com/vaadin/ui/UI.java index 6160978542..303dfc234a 100644 --- a/server/src/com/vaadin/ui/UI.java +++ b/server/src/com/vaadin/ui/UI.java @@ -1177,6 +1177,8 @@ public abstract class UI extends AbstractSingleComponentContainer implements * should only be called by the framework. */ public void setPushConnection(PushConnection connection) { + assert pushConnection == null; + assert connection != null; pushConnection = connection; } |