From: Artur Signell Date: Thu, 1 Mar 2012 16:32:08 +0000 (+0200) Subject: #8426 Fixed bug with parameters in ClientRPC generator X-Git-Tag: 7.0.0.alpha2~401 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e90f70a21cdba3c6d1b8a4f6912db421bc1bbbe2;p=vaadin-framework.git #8426 Fixed bug with parameters in ClientRPC generator --- diff --git a/src/com/vaadin/terminal/gwt/widgetsetutils/RpcManagerGenerator.java b/src/com/vaadin/terminal/gwt/widgetsetutils/RpcManagerGenerator.java index 844b602b78..0d28980148 100644 --- a/src/com/vaadin/terminal/gwt/widgetsetutils/RpcManagerGenerator.java +++ b/src/com/vaadin/terminal/gwt/widgetsetutils/RpcManagerGenerator.java @@ -124,7 +124,7 @@ public class RpcManagerGenerator extends Generator { for (int i = 0; i < parameterTypes.length; ++i) { paramString = paramString + "(" + parameterTypes[i].getQualifiedSourceName() - + ") invocation.getParameters()[i]"; + + ") invocation.getParameters()[" + i + "]"; if (i < parameterTypes.length - 1) { paramString = paramString + ", "; }