summaryrefslogtreecommitdiff
path: root/gentools/templ.java
diff options
context:
space:
mode:
authorKim van der Riet <kpvdr@apache.org>2007-01-04 16:51:05 +0000
committerKim van der Riet <kpvdr@apache.org>2007-01-04 16:51:05 +0000
commitb064c1e6933a712be3c4efb3ffc22bdf2156d102 (patch)
tree2867adc11697a86d00d45a9328500495c8d1e956 /gentools/templ.java
parent41aaf65c8a1337f3627b9b9466f667314f03b298 (diff)
downloadqpid-python-b064c1e6933a712be3c4efb3ffc22bdf2156d102.tar.gz
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
Diffstat (limited to 'gentools/templ.java')
-rw-r--r--gentools/templ.java/MethodBodyClass.tmpl8
1 files changed, 4 insertions, 4 deletions
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;
}
}