[LOGBack-dev] svn commit: r281 - 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:45:56 CEST 2006


Author: seb
Date: Tue Jul 25 14:45:55 2006
New Revision: 281

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

Modified: logback/classic/trunk/src/main/java/ch/qos/logback/classic/pattern/CallerDataConverter.java
==============================================================================
--- logback/classic/trunk/src/main/java/ch/qos/logback/classic/pattern/CallerDataConverter.java	(original)
+++ logback/classic/trunk/src/main/java/ch/qos/logback/classic/pattern/CallerDataConverter.java	Tue Jul 25 14:45:55 2006
@@ -29,7 +29,7 @@
 public class CallerDataConverter extends ClassicConverter {
 
   int depth = 5;
-  List evaluatorList;
+  List<EventEvaluator> evaluatorList;
 
   public void start() {
     String depthStr = getFirstOption();
@@ -64,7 +64,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