[LOGBack-dev] svn commit: r303 - logback/core/trunk/src/test/java/ch/qos/logback/core/pattern/parser

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


Author: seb
Date: Tue Jul 25 15:22:28 2006
New Revision: 303

Modified:
   logback/core/trunk/src/test/java/ch/qos/logback/core/pattern/parser/SamplePatternLayout.java
Log:
Type Safety

Modified: logback/core/trunk/src/test/java/ch/qos/logback/core/pattern/parser/SamplePatternLayout.java
==============================================================================
--- logback/core/trunk/src/test/java/ch/qos/logback/core/pattern/parser/SamplePatternLayout.java	(original)
+++ logback/core/trunk/src/test/java/ch/qos/logback/core/pattern/parser/SamplePatternLayout.java	Tue Jul 25 15:22:28 2006
@@ -20,7 +20,7 @@
 
 public class SamplePatternLayout extends PatternLayoutBase {
 
-  Map converterMap = new HashMap();
+  Map<String, String> converterMap = new HashMap<String, String>();
 
   public SamplePatternLayout() {
     converterMap.put("OTT", Converter123.class.getName());



More information about the logback-dev mailing list