]> source.dussan.org Git - vaadin-framework.git/commitdiff
#8426 Fixed bug with parameters in ClientRPC generator
authorArtur Signell <artur@vaadin.com>
Thu, 1 Mar 2012 16:32:08 +0000 (18:32 +0200)
committerArtur Signell <artur@vaadin.com>
Thu, 1 Mar 2012 16:32:08 +0000 (18:32 +0200)
src/com/vaadin/terminal/gwt/widgetsetutils/RpcManagerGenerator.java

index 844b602b781103fe40284c7769aa76f5634d4f1d..0d28980148d88a46ba898c2d8ef517a67283b50f 100644 (file)
@@ -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 + ", ";
                         }