diff options
author | Artur Signell <artur@vaadin.com> | 2016-01-20 16:29:18 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2016-02-03 16:43:47 +0200 |
commit | c5083844600c49e7e25e3947f53c50c6284fb5f5 (patch) | |
tree | 138f7f63e66845e36fa088f431703fd3dd3575cc /client | |
parent | 7fc5844508f555c0e12df6fd6407907642a0d46c (diff) | |
download | vaadin-framework-c5083844600c49e7e25e3947f53c50c6284fb5f5.tar.gz vaadin-framework-c5083844600c49e7e25e3947f53c50c6284fb5f5.zip |
Make project Java 8 compatible
Change-Id: I875e152b8851d7b962be47f369c1f6b483193260
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/communication/MessageSender.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/communication/MessageSender.java b/client/src/com/vaadin/client/communication/MessageSender.java index cde8be48ac..5862809b0c 100644 --- a/client/src/com/vaadin/client/communication/MessageSender.java +++ b/client/src/com/vaadin/client/communication/MessageSender.java @@ -33,6 +33,7 @@ import com.vaadin.shared.ui.ui.UIState.PushConfigurationState; import elemental.json.Json; import elemental.json.JsonArray; import elemental.json.JsonObject; +import elemental.json.JsonValue; /** * MessageSender is responsible for sending messages to the server. @@ -161,7 +162,8 @@ public class MessageSender { if (extraJson != null) { for (String key : extraJson.keys()) { - payload.put(key, extraJson.get(key)); + JsonValue value = extraJson.get(key); + payload.put(key, value); } } |