diff options
author | wodencafe <wodencafe@gmail.com> | 2015-01-28 09:42:18 -0600 |
---|---|---|
committer | wodencafe <wodencafe@gmail.com> | 2015-01-28 09:48:07 -0600 |
commit | 4ad7cefcc06e372df8b67a2456616d7410c768d8 (patch) | |
tree | 0a5f52a08541d053564c2554f798a832f18d7cea /server/src/com/vaadin/ui | |
parent | 2af61caa596eb39b211bb6c71809e6ecca63bae8 (diff) | |
download | vaadin-framework-4ad7cefcc06e372df8b67a2456616d7410c768d8.tar.gz vaadin-framework-4ad7cefcc06e372df8b67a2456616d7410c768d8.zip |
Fixed UI.getPushConfiguration().getTransport() always returning null (#16499)
Change-Id: I31a923faf5ae369ffc2160cdeb12584ca0babc9d
Diffstat (limited to 'server/src/com/vaadin/ui')
-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; } |