Skip to content

Commit ad2ad37

Browse files
committed
Use getter instead of property
References #429 (cherry picked from commit 52588f2)
1 parent d02e783 commit ad2ad37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/rabbitmq/tools/jsonrpc/JsonRpcClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public Object call(String[] args)
237237

238238
Object[] actuals = new Object[arity];
239239
for (int count = 0; count < params.length; count++) {
240-
actuals[count] = coerce(args[count + 1], params[count].type);
240+
actuals[count] = coerce(args[count + 1], params[count].getType());
241241
}
242242

243243
return call(method, actuals);

0 commit comments

Comments
 (0)