From 363a0a519d9997fc1e07f0732b2dd09b162d807d Mon Sep 17 00:00:00 2001 From: Kim van der Riet Date: Thu, 4 Jan 2007 21:30:39 +0000 Subject: Fixed C++ client sending protocol version 0-0 over the wire. Minor fixes and tidy-up in related code. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@492756 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/gentools/templ.java/MethodBodyClass.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qpid/gentools/templ.java/MethodBodyClass.tmpl') diff --git a/qpid/gentools/templ.java/MethodBodyClass.tmpl b/qpid/gentools/templ.java/MethodBodyClass.tmpl index ad1ce36006..04ce639f23 100644 --- a/qpid/gentools/templ.java/MethodBodyClass.tmpl +++ b/qpid/gentools/templ.java/MethodBodyClass.tmpl @@ -84,7 +84,7 @@ ${METHOD_ID_INIT} return buf.toString(); } - public static AMQFrame createAMQFrame(int channelId, byte major, byte minor + public static AMQFrame createAMQFrame(int _channelId, byte major, byte minor %{FLIST} ${mb_field_parameter_list} ) { @@ -92,7 +92,7 @@ ${METHOD_ID_INIT} %{FLIST} ${mb_field_body_initialize} AMQFrame frame = new AMQFrame(); - frame.channel = channelId; + frame.channel = _channelId; frame.bodyFrame = body; return frame; } -- cgit v1.2.1