diff options
author | wodencafe <wodencafe@gmail.com> | 2015-01-28 09:42:18 -0600 |
---|---|---|
committer | Sauli Tähkäpää <sauli@vaadin.com> | 2015-02-02 10:45:55 +0200 |
commit | f6dda35aa459b6b128c435248ba0e1f28356728b (patch) | |
tree | 8655a3cb351f41adb7bbeadebeb22f6257e7c3a4 /server/src | |
parent | eac08c4f6c032273172bab36d3b333eaa4ee1e0f (diff) | |
download | vaadin-framework-f6dda35aa459b6b128c435248ba0e1f28356728b.tar.gz vaadin-framework-f6dda35aa459b6b128c435248ba0e1f28356728b.zip |
Fixed UI.getPushConfiguration().getTransport() always returning null (#16499)
Change-Id: I31a923faf5ae369ffc2160cdeb12584ca0babc9d
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/com/vaadin/ui/PushConfiguration.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/com/vaadin/ui/PushConfiguration.java b/server/src/com/vaadin/ui/PushConfiguration.java index 84f59d0313..90ad28542c 100644 --- a/server/src/com/vaadin/ui/PushConfiguration.java +++ b/server/src/com/vaadin/ui/PushConfiguration.java @@ -208,7 +208,7 @@ class PushConfigurationImpl implements PushConfiguration { public Transport getTransport() { try { return Transport - .valueOf(getParameter(PushConfigurationState.TRANSPORT_PARAM)); + .getByIdentifier(getParameter(PushConfigurationState.TRANSPORT_PARAM)); } catch (IllegalArgumentException e) { return null; } |