[LOGBack-dev] svn commit: r275 - logback/classic/trunk/src/test/java/ch/qos/logback/classic/control

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


Author: seb
Date: Tue Jul 25 14:37:11 2006
New Revision: 275

Modified:
   logback/classic/trunk/src/test/java/ch/qos/logback/classic/control/Scenario.java
Log:
Type Safety

Modified: logback/classic/trunk/src/test/java/ch/qos/logback/classic/control/Scenario.java
==============================================================================
--- logback/classic/trunk/src/test/java/ch/qos/logback/classic/control/Scenario.java	(original)
+++ logback/classic/trunk/src/test/java/ch/qos/logback/classic/control/Scenario.java	Tue Jul 25 14:37:11 2006
@@ -14,12 +14,13 @@
 import java.util.Vector;
 
 import ch.qos.logback.classic.Level;
+import ch.qos.logback.core.joran.action.Action;
 
 public class Scenario {
   // the frequency of a set levelInt event for every create logger event
   private final static int CREATE_LOGGER_TO_SET_LEVEL_FREQUENCY = 5;
 
-  private List actionList = new Vector();
+  private List<TestAction> actionList = new Vector<TestAction>();
 
   public void addAction(CreateLogger action) {
     actionList.add(action);



More information about the logback-dev mailing list