summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-11-21 14:22:44 +0200
committerLeif Åstrand <leif@vaadin.com>2012-11-21 14:22:58 +0200
commit6ed87c1b6ce280082c2dee21a6f87c1620e0ea79 (patch)
tree907c13b4491867904034218c00b335781ddd6783 /client
parent416b8a6d6b9eb580454f006b38a72ffe7f484638 (diff)
downloadvaadin-framework-6ed87c1b6ce280082c2dee21a6f87c1620e0ea79.tar.gz
vaadin-framework-6ed87c1b6ce280082c2dee21a6f87c1620e0ea79.zip
Remove slashes from beginning or end of constants (#10140)
* Also rename the constants to cause compile errors in 3rd party code Change-Id: If96c9956de7737345ec9372be28292b3490387a2
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ApplicationConnection.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/com/vaadin/client/ApplicationConnection.java b/client/src/com/vaadin/client/ApplicationConnection.java
index ede16b8125..0dbc0984a7 100644
--- a/client/src/com/vaadin/client/ApplicationConnection.java
+++ b/client/src/com/vaadin/client/ApplicationConnection.java
@@ -681,7 +681,7 @@ public class ApplicationConnection {
+ requestData;
VConsole.log("Making UIDL Request with params: " + payload);
String uri = translateVaadinUri(ApplicationConstants.APP_PROTOCOL_PREFIX
- + ApplicationConstants.UIDL_REQUEST_PATH);
+ + ApplicationConstants.UIDL_PATH + '/');
if (extraParams != null && extraParams.length() > 0) {
uri = addGetParameters(uri, extraParams);
@@ -3068,7 +3068,7 @@ public class ApplicationConnection {
protected void sendHeartbeat() {
final String uri = addGetParameters(
translateVaadinUri(ApplicationConstants.APP_PROTOCOL_PREFIX
- + ApplicationConstants.HEARTBEAT_REQUEST_PATH),
+ + ApplicationConstants.HEARTBEAT_PATH + '/'),
UIConstants.UI_ID_PARAMETER + "="
+ getConfiguration().getUIId());