Return-Path: Delivered-To: apmail-incubator-qpid-commits-archive@locus.apache.org Received: (qmail 19174 invoked from network); 23 Feb 2007 16:16:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Feb 2007 16:16:36 -0000 Received: (qmail 5339 invoked by uid 500); 23 Feb 2007 16:16:35 -0000 Delivered-To: apmail-incubator-qpid-commits-archive@incubator.apache.org Received: (qmail 5327 invoked by uid 500); 23 Feb 2007 16:16:35 -0000 Mailing-List: contact qpid-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: qpid-dev@incubator.apache.org Delivered-To: mailing list qpid-commits@incubator.apache.org Received: (qmail 5307 invoked by uid 99); 23 Feb 2007 16:16:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Feb 2007 08:16:35 -0800 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Feb 2007 08:16:25 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 574EA1A981A; Fri, 23 Feb 2007 08:16:05 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r511004 - in /incubator/qpid/branches/qpid.0-9/gentools/templ.java: MethodBodyClass.tmpl MethodRegistryClass.tmpl Date: Fri, 23 Feb 2007 16:16:05 -0000 To: qpid-commits@incubator.apache.org From: kpvdr@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070223161605.574EA1A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 classIDMethodIDVersionBodyMap = new HashMap(); - - 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;