From fa6532edf09b45201f90beaeef62702b00d35947 Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Wed, 9 Jul 2008 13:26:54 +0000 Subject: Primarily profiling driven changes: - added batched writes of commands/controls issued on a session - copy fragmented frames and segments rather than trying to decode them piecemeal, removed FragmentDecoder - added caching for str8 encode/decode - compute sizes as we encode by going back and filling in the amount of bytes written rather than computing it up front - added SYNC option to commands - renamed NO_OPTION argument to NONE - added a timeout to Client.java - removed use of UUID.fromString in BasicMessageProducer_0_10.java git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@675165 13f79535-47bb-0310-9956-ffa450edef68 --- java/common/Invoker.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'java/common/Invoker.tpl') diff --git a/java/common/Invoker.tpl b/java/common/Invoker.tpl index d9905c71a0..4e174619f0 100644 --- a/java/common/Invoker.tpl +++ b/java/common/Invoker.tpl @@ -15,8 +15,8 @@ from genutil import * for c in composites: name = cname(c) fields = get_fields(c) - params = get_parameters(fields) - args = get_arguments(fields) + params = get_parameters(c, fields) + args = get_arguments(c, fields) result = c["result"] if result: if not result["@type"]: @@ -32,7 +32,7 @@ for c in composites: jclass = "" out(""" - public $jresult $(dromedary(name))($(", ".join(params))) { + public final $jresult $(dromedary(name))($(", ".join(params))) { $(jreturn)invoke(new $name($(", ".join(args)))$jclass); } """) -- cgit v1.2.1