From ea26246faaf8309cf95b165446d3d4275b441f92 Mon Sep 17 00:00:00 2001 From: Milan Kriz Date: Mon, 28 Nov 2022 13:26:00 +0100 Subject: [PATCH] Fix to work with zserio 2.9 --- src/zserio/service/rmi/RMIClient.java | 2 +- src/zserio/service/rmi/RMIServer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zserio/service/rmi/RMIClient.java b/src/zserio/service/rmi/RMIClient.java index dfe2501..28e471a 100644 --- a/src/zserio/service/rmi/RMIClient.java +++ b/src/zserio/service/rmi/RMIClient.java @@ -64,7 +64,7 @@ public RMIClient(String serviceFullName, String host, int port) throws RemoteExc * Implementation of ServiceClientInterface::callMethod. */ @Override - public byte[] callMethod(String methodName, ServiceData request, Object context) + public byte[] callMethod(String methodName, ServiceData request, Object context) { try { diff --git a/src/zserio/service/rmi/RMIServer.java b/src/zserio/service/rmi/RMIServer.java index 256eb98..09d6187 100644 --- a/src/zserio/service/rmi/RMIServer.java +++ b/src/zserio/service/rmi/RMIServer.java @@ -35,7 +35,7 @@ public RMIServer(ServiceInterface serviceImpl, String serviceFullName) @Override public byte[] callMethod(String methodName, byte[] requestData) throws RemoteException { - final ServiceData serviceData = serviceImpl.callMethod(methodName, requestData, null); + final ServiceData serviceData = serviceImpl.callMethod(methodName, requestData, null); return serviceData.getByteArray(); }