diff options
author | Artur Signell <artur@vaadin.com> | 2012-04-16 16:35:12 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-04-18 23:08:54 +0300 |
commit | 5ad6dbae66d22e887ccdc4e31dde1781fc5255e6 (patch) | |
tree | 591b1e0b2ec544a13acb525118f9cfcb73280066 /src/com/vaadin/ui/AbstractComponent.java | |
parent | 0d95a362d9ee1a163affbbefb820ecdf75f21da0 (diff) | |
download | vaadin-framework-5ad6dbae66d22e887ccdc4e31dde1781fc5255e6.tar.gz vaadin-framework-5ad6dbae66d22e887ccdc4e31dde1781fc5255e6.zip |
Use declared RPC parameter types (#8666)
Diffstat (limited to 'src/com/vaadin/ui/AbstractComponent.java')
-rw-r--r-- | src/com/vaadin/ui/AbstractComponent.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/vaadin/ui/AbstractComponent.java b/src/com/vaadin/ui/AbstractComponent.java index 83e6f54ad3..5ef7cfd242 100644 --- a/src/com/vaadin/ui/AbstractComponent.java +++ b/src/com/vaadin/ui/AbstractComponent.java @@ -1597,7 +1597,7 @@ public abstract class AbstractComponent implements Component, MethodEventSource public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { - addMethodInvocationToQueue(rpcInterfaceName, method.getName(), args); + addMethodInvocationToQueue(rpcInterfaceName, method, args); // TODO no need to do full repaint if only RPC calls requestRepaint(); return null; @@ -1618,10 +1618,10 @@ public abstract class AbstractComponent implements Component, MethodEventSource * @since 7.0 */ protected void addMethodInvocationToQueue(String interfaceName, - String methodName, Object[] parameters) { + Method method, Object[] parameters) { // add to queue pendingInvocations.add(new ClientMethodInvocation(this, interfaceName, - methodName, parameters)); + method, parameters)); } /** |