summaryrefslogtreecommitdiff
path: root/qpid/java/common/templates
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2007-06-15 16:37:08 +0000
committerMartin Ritchie <ritchiem@apache.org>2007-06-15 16:37:08 +0000
commit3769af8867386add4cbfa191ec45f786e4f84e69 (patch)
tree9aedcb0e25b3f3ec162b1bdb7a5ac28f67314e29 /qpid/java/common/templates
parent1d23b9ec5e7296aecefe94a532a9f22dfb5fa5bb (diff)
downloadqpid-python-3769af8867386add4cbfa191ec45f786e4f84e69.tar.gz
Merged revisions 547178 via svnmerge from
https://svn.apache.org/repos/asf/incubator/qpid/branches/M2 ........ r547178 | gsim | 2007-06-14 09:51:39 +0100 (Thu, 14 Jun 2007) | 3 lines Converted templates to generate classes using slf4j rather than log4j inline with changes applied in rev 546190. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@547731 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/common/templates')
-rw-r--r--qpid/java/common/templates/model/MethodRegistryClass.tmpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/qpid/java/common/templates/model/MethodRegistryClass.tmpl b/qpid/java/common/templates/model/MethodRegistryClass.tmpl
index 388a1a936f..82a385f20c 100644
--- a/qpid/java/common/templates/model/MethodRegistryClass.tmpl
+++ b/qpid/java/common/templates/model/MethodRegistryClass.tmpl
@@ -29,7 +29,8 @@
package org.apache.qpid.framing;
import java.util.HashMap;
-import org.apache.log4j.Logger;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
import org.apache.mina.common.ByteBuffer;
public class MainRegistry
@@ -37,7 +38,8 @@ 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 Logger _log = LoggerFactory.getLogger(MainRegistry.class);
+
private static final int DEFAULT_MINOR_VERSION_COUNT = 10;