diff options
author | Kim van der Riet <kpvdr@apache.org> | 2007-02-23 16:16:04 +0000 |
---|---|---|
committer | Kim van der Riet <kpvdr@apache.org> | 2007-02-23 16:16:04 +0000 |
commit | df4921be47d527609342f1a95d595eb12b28160b (patch) | |
tree | 410b1ac80f00b0646299e47858993b83366d8bf6 | |
parent | 1cc1d341c699653811bf0e160d398214db787230 (diff) | |
download | qpid-python-df4921be47d527609342f1a95d595eb12b28160b.tar.gz |
Tidy-up of java templates to remove unused includes and declarations in generated code
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@511004 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | gentools/templ.java/MethodBodyClass.tmpl | 2 | ||||
-rw-r--r-- | gentools/templ.java/MethodRegistryClass.tmpl | 6 |
2 files changed, 0 insertions, 8 deletions
diff --git a/gentools/templ.java/MethodBodyClass.tmpl b/gentools/templ.java/MethodBodyClass.tmpl index eb7a62ed0e..11753394e7 100644 --- a/gentools/templ.java/MethodBodyClass.tmpl +++ b/gentools/templ.java/MethodBodyClass.tmpl @@ -29,8 +29,6 @@ package org.apache.qpid.framing; import java.util.HashMap; -import java.util.ArrayList; -import java.util.Arrays; import org.apache.mina.common.ByteBuffer; diff --git a/gentools/templ.java/MethodRegistryClass.tmpl b/gentools/templ.java/MethodRegistryClass.tmpl index c3f11d9f5a..12e6fe250e 100644 --- a/gentools/templ.java/MethodRegistryClass.tmpl +++ b/gentools/templ.java/MethodRegistryClass.tmpl @@ -28,18 +28,12 @@ package org.apache.qpid.framing; -import java.util.HashMap; -import java.lang.reflect.Constructor; import org.apache.log4j.Logger; import org.apache.mina.common.ByteBuffer; public class MainRegistry { - private static final HashMap<Long, AMQMethodBodyInstanceFactory> classIDMethodIDVersionBodyMap = new HashMap<Long, AMQMethodBodyInstanceFactory>(); - - private static final Logger _log = Logger.getLogger(MainRegistry.class); - private static final int DEFAULT_MINOR_VERSION_COUNT = 10; private static final int DEFAULT_MAJOR_VERSION_COUNT = 10; |