From b064c1e6933a712be3c4efb3ffc22bdf2156d102 Mon Sep 17 00:00:00 2001 From: Kim van der Riet Date: Thu, 4 Jan 2007 16:51:05 +0000 Subject: Changes to lick off the 0-9 generation. Note that the new spec file specs/amqp-nogen.0-9.xml causes the classes basic, file and stream not to generate. There are plenty of compile errors to sort through... git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@492634 13f79535-47bb-0310-9956-ffa450edef68 --- gentools/templ.java/MethodBodyClass.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gentools/templ.java') diff --git a/gentools/templ.java/MethodBodyClass.tmpl b/gentools/templ.java/MethodBodyClass.tmpl index ad1ce36006..83973bc498 100644 --- a/gentools/templ.java/MethodBodyClass.tmpl +++ b/gentools/templ.java/MethodBodyClass.tmpl @@ -84,16 +84,16 @@ ${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} ) { - ${CLASS}${METHOD}Body body = new ${CLASS}${METHOD}Body(major, minor); + ${CLASS}${METHOD}Body bodyFrame = new ${CLASS}${METHOD}Body(major, minor); %{FLIST} ${mb_field_body_initialize} AMQFrame frame = new AMQFrame(); - frame.channel = channelId; - frame.bodyFrame = body; + frame.channel = _channelId; + frame.bodyFrame = bodyFrame; return frame; } } -- cgit v1.2.1