[LOGBack-dev] svn commit: r282 - logback/classic/trunk/src/main/java/ch/qos/logback/classic/pattern

noreply.seb at qos.ch noreply.seb at qos.ch
Tue Jul 25 14:46:46 CEST 2006


Author: seb
Date: Tue Jul 25 14:46:45 2006
New Revision: 282

Modified:
   logback/classic/trunk/src/main/java/ch/qos/logback/classic/pattern/ThrowableInformationConverter.java
Log:
Type Safety

Modified: logback/classic/trunk/src/main/java/ch/qos/logback/classic/pattern/ThrowableInformationConverter.java
==============================================================================
--- logback/classic/trunk/src/main/java/ch/qos/logback/classic/pattern/ThrowableInformationConverter.java	(original)
+++ logback/classic/trunk/src/main/java/ch/qos/logback/classic/pattern/ThrowableInformationConverter.java	Tue Jul 25 14:46:45 2006
@@ -20,7 +20,7 @@
 public class ThrowableInformationConverter extends ThrowableHandlingConverter {
 
   int lengthOption;
-  List evaluatorList = null;
+  List<EventEvaluator> evaluatorList = null;
 
   public void start() {
 
@@ -62,7 +62,7 @@
 
   private void addEvaluator(EventEvaluator ee) {
     if (evaluatorList == null) {
-      evaluatorList = new ArrayList();
+      evaluatorList = new ArrayList<EventEvaluator>();
     }
     evaluatorList.add(ee);
   }



More information about the logback-dev mailing list