diff options
-rw-r--r-- | server/src/com/vaadin/server/AbstractClientConnector.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/com/vaadin/server/AbstractClientConnector.java b/server/src/com/vaadin/server/AbstractClientConnector.java index 490f23e186..b7ba48d8d5 100644 --- a/server/src/com/vaadin/server/AbstractClientConnector.java +++ b/server/src/com/vaadin/server/AbstractClientConnector.java @@ -260,7 +260,7 @@ public abstract class AbstractClientConnector implements ClientConnector, Constructor<?> constructor = proxyClass .getConstructor(InvocationHandler.class); T rpcProxy = rpcInterface.cast(constructor - .newInstance(new RpcInvoicationHandler(rpcInterface))); + .newInstance(new RpcInvocationHandler(rpcInterface))); // cache the proxy rpcProxyMap.put(rpcInterface, rpcProxy); } @@ -293,12 +293,12 @@ public abstract class AbstractClientConnector implements ClientConnector, } } - private class RpcInvoicationHandler implements InvocationHandler, + private class RpcInvocationHandler implements InvocationHandler, Serializable { private String rpcInterfaceName; - public RpcInvoicationHandler(Class<?> rpcInterface) { + public RpcInvocationHandler(Class<?> rpcInterface) { rpcInterfaceName = rpcInterface.getName().replaceAll("\\$", "."); } |