summaryrefslogtreecommitdiff
path: root/gentools/templ.java
diff options
context:
space:
mode:
Diffstat (limited to 'gentools/templ.java')
-rw-r--r--gentools/templ.java/MethodBodyClass.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/gentools/templ.java/MethodBodyClass.tmpl b/gentools/templ.java/MethodBodyClass.tmpl
index ad1ce36006..04ce639f23 100644
--- a/gentools/templ.java/MethodBodyClass.tmpl
+++ b/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;
}