aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-04-23 21:48:21 +0300
committerArtur Signell <artur@vaadin.com>2012-05-11 22:18:21 +0300
commit3387e8e2370a37f3e2d32d87dbe700def12dee65 (patch)
tree2beb62488b920ece4c243984e66333acb1b62327 /src
parentbadc5c3ee400b1225145de6532004b36d4ad14b9 (diff)
downloadvaadin-framework-3387e8e2370a37f3e2d32d87dbe700def12dee65.tar.gz
vaadin-framework-3387e8e2370a37f3e2d32d87dbe700def12dee65.zip
Avoid unnecessary spaces in UIDL
Diffstat (limited to 'src')
-rw-r--r--src/com/vaadin/terminal/gwt/server/JsonPaintTarget.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/vaadin/terminal/gwt/server/JsonPaintTarget.java b/src/com/vaadin/terminal/gwt/server/JsonPaintTarget.java
index 0140c0f799..def334290e 100644
--- a/src/com/vaadin/terminal/gwt/server/JsonPaintTarget.java
+++ b/src/com/vaadin/terminal/gwt/server/JsonPaintTarget.java
@@ -387,7 +387,7 @@ public class JsonPaintTarget implements PaintTarget {
"Parameters must be non-null strings");
}
- tag.addAttribute("\"" + name + "\": \"" + escapeJSON(value) + "\"");
+ tag.addAttribute("\"" + name + "\":\"" + escapeJSON(value) + "\"");
if (customLayoutArgumentsOpen && "template".equals(name)) {
getUsedResources().add("layouts/" + value + ".html");
@@ -411,7 +411,7 @@ public class JsonPaintTarget implements PaintTarget {
StringBuilder sb = new StringBuilder();
sb.append("\"");
sb.append(name);
- sb.append("\": ");
+ sb.append("\":");
sb.append("{");
for (Iterator<?> it = value.keySet().iterator(); it.hasNext();) {
Object key = it.next();