diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2007-08-23 15:32:13 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2007-08-23 15:32:13 +0000 |
| commit | 09e8928e79bfb0b32b80d1c1ace218238d506f6d (patch) | |
| tree | 0844f1485413de4aa58afa47fe14c8971c2fe286 /qpid/java/common/generate | |
| parent | ae0d33cdbcc4dd8613bb9df52483d9df4967ad59 (diff) | |
| download | qpid-python-09e8928e79bfb0b32b80d1c1ace218238d506f6d.tar.gz | |
moved Encoder, Decoder and related classes into the codec sub-package
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@569045 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/common/generate')
| -rwxr-xr-x | qpid/java/common/generate | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/qpid/java/common/generate b/qpid/java/common/generate index 8e6957803e..ac49c6283d 100755 --- a/qpid/java/common/generate +++ b/qpid/java/common/generate @@ -23,6 +23,10 @@ class Output: self.line("import java.util.Map;") self.line("import java.util.UUID;") self.line() + self.line("import org.apache.qpidity.codec.Decoder;") + self.line("import org.apache.qpidity.codec.Encodable;") + self.line("import org.apache.qpidity.codec.Encoder;") + self.line() self.line() def line(self, l = ""): @@ -80,9 +84,9 @@ const.line("{") for d in spec.query["amqp/constant"]: name = d["@name"] val = d["@value"] - datatype = d["@datatype"] + datatype = d["@datatype"] if datatype == None: - const.line("public static final int %s = %s;" % (scream(name), val)) + const.line("public static final int %s = %s;" % (scream(name), val)) const.line("}") const.write() |
