diff options
author | Leif Åstrand <leif@vaadin.com> | 2013-04-17 14:25:48 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-04-17 14:37:52 +0000 |
commit | b8614ad16cac44637dbfa11829b4cb896c4ac9cf (patch) | |
tree | e0337ad6721ea9bf59b10ec9d17628e46738d749 /client | |
parent | 0f75f202d333ac507fb3e5efb8e9bd4d4719e098 (diff) | |
download | vaadin-framework-b8614ad16cac44637dbfa11829b4cb896c4ac9cf.tar.gz vaadin-framework-b8614ad16cac44637dbfa11829b4cb896c4ac9cf.zip |
Add PushMode.isEnabled() (#11626)
Change-Id: I416dc73566e2404a6dce35045fc79f9038e8dd5e
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/ApplicationConnection.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/client/src/com/vaadin/client/ApplicationConnection.java b/client/src/com/vaadin/client/ApplicationConnection.java index ce57dc5bca..04e3ab9dc6 100644 --- a/client/src/com/vaadin/client/ApplicationConnection.java +++ b/client/src/com/vaadin/client/ApplicationConnection.java @@ -89,7 +89,6 @@ import com.vaadin.shared.ApplicationConstants; import com.vaadin.shared.Version; import com.vaadin.shared.communication.LegacyChangeVariablesInvocation; import com.vaadin.shared.communication.MethodInvocation; -import com.vaadin.shared.communication.PushMode; import com.vaadin.shared.communication.SharedState; import com.vaadin.shared.ui.ui.UIConstants; @@ -3395,7 +3394,7 @@ public class ApplicationConnection { } private void initializePush() { - if (getConfiguration().getPushMode() != PushMode.DISABLED) { + if (getConfiguration().getPushMode().isEnabled()) { push = GWT.create(PushConnection.class); push.init(this); |