aboutsummaryrefslogtreecommitdiffstats
path: root/server/src
diff options
context:
space:
mode:
authorwodencafe <wodencafe@gmail.com>2015-01-28 09:42:18 -0600
committerSauli Tähkäpää <sauli@vaadin.com>2015-02-02 10:45:55 +0200
commitf6dda35aa459b6b128c435248ba0e1f28356728b (patch)
tree8655a3cb351f41adb7bbeadebeb22f6257e7c3a4 /server/src
parenteac08c4f6c032273172bab36d3b333eaa4ee1e0f (diff)
downloadvaadin-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.java2
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;
}