You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kp...@apache.org on 2007/02/23 17:16:05 UTC
svn commit: r511004 - in
/incubator/qpid/branches/qpid.0-9/gentools/templ.java: MethodBodyClass.tmpl
MethodRegistryClass.tmpl
Author: kpvdr
Date: Fri Feb 23 08:16:04 2007
New Revision: 511004
URL: http://svn.apache.org/viewvc?view=rev&rev=511004
Log:
Tidy-up of java templates to remove unused includes and declarations in generated code
Modified:
incubator/qpid/branches/qpid.0-9/gentools/templ.java/MethodBodyClass.tmpl
incubator/qpid/branches/qpid.0-9/gentools/templ.java/MethodRegistryClass.tmpl
Modified: incubator/qpid/branches/qpid.0-9/gentools/templ.java/MethodBodyClass.tmpl
URL: http://svn.apache.org/viewvc/incubator/qpid/branches/qpid.0-9/gentools/templ.java/MethodBodyClass.tmpl?view=diff&rev=511004&r1=511003&r2=511004
==============================================================================
--- incubator/qpid/branches/qpid.0-9/gentools/templ.java/MethodBodyClass.tmpl (original)
+++ incubator/qpid/branches/qpid.0-9/gentools/templ.java/MethodBodyClass.tmpl Fri Feb 23 08:16:04 2007
@@ -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;
Modified: incubator/qpid/branches/qpid.0-9/gentools/templ.java/MethodRegistryClass.tmpl
URL: http://svn.apache.org/viewvc/incubator/qpid/branches/qpid.0-9/gentools/templ.java/MethodRegistryClass.tmpl?view=diff&rev=511004&r1=511003&r2=511004
==============================================================================
--- incubator/qpid/branches/qpid.0-9/gentools/templ.java/MethodRegistryClass.tmpl (original)
+++ incubator/qpid/branches/qpid.0-9/gentools/templ.java/MethodRegistryClass.tmpl Fri Feb 23 08:16:04 2007
@@ -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;