[LOGBack-dev] svn commit: r302 - logback/classic/trunk/src/main/java/org/slf4j/impl

noreply.seb at qos.ch noreply.seb at qos.ch
Tue Jul 25 15:22:01 CEST 2006


Author: seb
Date: Tue Jul 25 15:22:00 2006
New Revision: 302

Modified:
   logback/classic/trunk/src/main/java/org/slf4j/impl/SimpleLoggerFactory.java
Log:
Type Safety

Modified: logback/classic/trunk/src/main/java/org/slf4j/impl/SimpleLoggerFactory.java
==============================================================================
--- logback/classic/trunk/src/main/java/org/slf4j/impl/SimpleLoggerFactory.java	(original)
+++ logback/classic/trunk/src/main/java/org/slf4j/impl/SimpleLoggerFactory.java	Tue Jul 25 15:22:00 2006
@@ -58,10 +58,10 @@
    */
   public final static SimpleLoggerFactory INSTANCE = new SimpleLoggerFactory();
   
-  Map map;
+  Map<String, Logger> map;
   
   public SimpleLoggerFactory() {
-    map = new HashMap();
+    map = new HashMap<String, Logger>();
   }
 
 



More information about the logback-dev mailing list