summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim van der Riet <kpvdr@apache.org>2007-01-30 16:59:38 +0000
committerKim van der Riet <kpvdr@apache.org>2007-01-30 16:59:38 +0000
commite7a1e4859a54d9d71f9ad1ad7273d888e175534a (patch)
treef76f842484c8ae62b0227de5b74aadeb63c3b8dd
parent988ab2947f3f0b542021a6563d6434b1c8d220f0 (diff)
downloadqpid-python-e7a1e4859a54d9d71f9ad1ad7273d888e175534a.tar.gz
Small codegen code tidy-up
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@501472 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--gentools/src/org/apache/qpid/gentools/AmqpClass.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/gentools/src/org/apache/qpid/gentools/AmqpClass.java b/gentools/src/org/apache/qpid/gentools/AmqpClass.java
index 51aee593eb..2e8bdaf971 100644
--- a/gentools/src/org/apache/qpid/gentools/AmqpClass.java
+++ b/gentools/src/org/apache/qpid/gentools/AmqpClass.java
@@ -93,7 +93,7 @@ public class AmqpClass implements Printable, NodeAware
thisMethod = new AmqpMethod(methodName, converter);
methodMap.put(methodName, thisMethod);
}
- if (!thisMethod.addFromNode(child, fieldCntr, version))
+ if (!thisMethod.addFromNode(child, 0, version))
{
String className = converter.prepareClassName(Utils.getNamedAttribute(classNode,
Utils.ATTRIBUTE_NAME));