]> source.dussan.org Git - vaadin-framework.git/commitdiff
Use "this" to avoid conflicts if there's a parameter named "connector"
authorLeif Åstrand <leif@vaadin.com>
Thu, 21 Jun 2012 11:33:34 +0000 (14:33 +0300)
committerLeif Åstrand <leif@vaadin.com>
Thu, 21 Jun 2012 11:52:16 +0000 (14:52 +0300)
src/com/vaadin/terminal/gwt/widgetsetutils/RpcProxyGenerator.java

index ad4e513049ed49275481d5c22788aa9a4f5c0580..d9bc8bc832d0615d13df0bee630411b1fe3d6f8b 100644 (file)
@@ -117,7 +117,7 @@ public class RpcProxyGenerator extends Generator {
             writer.println(" {");
             writer.indent();
 
-            writer.print("connector.getConnection().addMethodInvocationToQueue(new MethodInvocation(connector.getConnectorId(), \""
+            writer.print("this.connector.getConnection().addMethodInvocationToQueue(new MethodInvocation(this.connector.getConnectorId(), \""
                     + requestedType.getQualifiedBinaryName() + "\", \"");
             writer.print(m.getName());
             writer.print("\", new Object[] {");