[LOGBack-dev] svn commit: r305 - logback/core/trunk/src/main/java/ch/qos/logback/core/rolling/helper

noreply.seb at qos.ch noreply.seb at qos.ch
Tue Jul 25 15:27:23 CEST 2006


Author: seb
Date: Tue Jul 25 15:27:22 2006
New Revision: 305

Modified:
   logback/core/trunk/src/main/java/ch/qos/logback/core/rolling/helper/FileNamePattern.java
Log:
Type Safety

Modified: logback/core/trunk/src/main/java/ch/qos/logback/core/rolling/helper/FileNamePattern.java
==============================================================================
--- logback/core/trunk/src/main/java/ch/qos/logback/core/rolling/helper/FileNamePattern.java	(original)
+++ logback/core/trunk/src/main/java/ch/qos/logback/core/rolling/helper/FileNamePattern.java	Tue Jul 25 15:27:22 2006
@@ -34,7 +34,7 @@
  */
 public class FileNamePattern extends ContextAwareBase {
 
-  static final Map CONVERTER_MAP = new HashMap();
+  static final Map<String, String> CONVERTER_MAP = new HashMap<String, String>();
   static {
     CONVERTER_MAP.put("i", IntegerTokenConverter.class.getName());
     CONVERTER_MAP.put("d", DateTokenConverter.class.getName());



More information about the logback-dev mailing list