diff options
author | Artur Signell <artur@vaadin.com> | 2015-04-20 19:12:44 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2015-07-13 17:19:08 +0300 |
commit | ba2efda9d3d8c923ac996f5371e0de43dc5b4e59 (patch) | |
tree | 2bb5ac5d7a026bdb13091ba4d2875fd6aae41391 /uitest/src/com/vaadin/tests/widgetset | |
parent | 0bf3e4ddef5f62aaecf2bbf238963035c72be2e3 (diff) | |
download | vaadin-framework-ba2efda9d3d8c923ac996f5371e0de43dc5b4e59.tar.gz vaadin-framework-ba2efda9d3d8c923ac996f5371e0de43dc5b4e59.zip |
Simplify UIDL message handling (#11733)
Pass only JSONObject around instead of multiple versions
Change-Id: Ibf747df366e384df8e3cc6f5153100168514f63a
Diffstat (limited to 'uitest/src/com/vaadin/tests/widgetset')
-rw-r--r-- | uitest/src/com/vaadin/tests/widgetset/client/MockServerMessageHandler.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/uitest/src/com/vaadin/tests/widgetset/client/MockServerMessageHandler.java b/uitest/src/com/vaadin/tests/widgetset/client/MockServerMessageHandler.java index 499a48226c..1445553cc6 100644 --- a/uitest/src/com/vaadin/tests/widgetset/client/MockServerMessageHandler.java +++ b/uitest/src/com/vaadin/tests/widgetset/client/MockServerMessageHandler.java @@ -15,8 +15,6 @@ */ package com.vaadin.tests.widgetset.client; -import java.util.Date; - import com.vaadin.client.ValueMap; import com.vaadin.client.communication.ServerMessageHandler; import com.vaadin.shared.ApplicationConstants; @@ -27,11 +25,11 @@ public class MockServerMessageHandler extends ServerMessageHandler { protected String lastCsrfTokenReceiver; @Override - public void handleUIDLMessage(Date start, String jsonText, ValueMap json) { + public void handleJSON(ValueMap json) { lastCsrfTokenReceiver = json .getString(ApplicationConstants.UIDL_SECURITY_TOKEN_ID); - super.handleUIDLMessage(start, jsonText, json); + super.handleJSON(json); } } |