summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2013-04-24 18:55:50 +0300
committerVaadin Code Review <review@vaadin.com>2013-04-25 08:31:08 +0000
commit10b877bd1497dbc50e34f391134b9c1f86b683be (patch)
tree9b5b03f95552a7d095a30856658c7d154ed8019d /server
parentf31cdf4e67a2465db20e661d3f406e24b792ec06 (diff)
downloadvaadin-framework-10b877bd1497dbc50e34f391134b9c1f86b683be.tar.gz
vaadin-framework-10b877bd1497dbc50e34f391134b9c1f86b683be.zip
Remove unused indirection (#11192)
Change-Id: I6c0d2342b29b79d224dfb2d1f42eb9d95a589981
Diffstat (limited to 'server')
-rw-r--r--server/src/com/vaadin/server/communication/ServerRpcHandler.java13
1 files changed, 3 insertions, 10 deletions
diff --git a/server/src/com/vaadin/server/communication/ServerRpcHandler.java b/server/src/com/vaadin/server/communication/ServerRpcHandler.java
index 6f67cee680..11de224e5e 100644
--- a/server/src/com/vaadin/server/communication/ServerRpcHandler.java
+++ b/server/src/com/vaadin/server/communication/ServerRpcHandler.java
@@ -93,13 +93,6 @@ public class ServerRpcHandler implements Serializable {
throws IOException, InvalidUIDLSecurityKeyException, JSONException {
ui.getSession().setLastRequestTimestamp(System.currentTimeMillis());
- // Change all variables based on request parameters
- handleVariables(ui, reader, request);
- }
-
- private void handleVariables(UI uI, Reader reader, VaadinRequest request)
- throws IOException, InvalidUIDLSecurityKeyException, JSONException {
-
String changes = getMessage(reader);
final String[] bursts = changes.split(String
@@ -115,7 +108,7 @@ public class ServerRpcHandler implements Serializable {
// Security: double cookie submission pattern unless disabled by
// property
- if (uI.getSession().getConfiguration().isXsrfProtectionEnabled()) {
+ if (ui.getSession().getConfiguration().isXsrfProtectionEnabled()) {
if (bursts.length == 1 && "init".equals(bursts[0])) {
// init request; don't handle any variables, key sent in
// response.
@@ -127,7 +120,7 @@ public class ServerRpcHandler implements Serializable {
} else {
// ApplicationServlet has stored the security token in the
// session; check that it matched the one sent in the UIDL
- String sessId = (String) uI
+ String sessId = (String) ui
.getSession()
.getSession()
.getAttribute(
@@ -139,7 +132,7 @@ public class ServerRpcHandler implements Serializable {
}
}
- handleBurst(uI, unescapeBurst(bursts[1]));
+ handleBurst(ui, unescapeBurst(bursts[1]));
}
/**