[LOGBack-dev] svn commit: r283 - logback/classic/trunk/src/main/java/org/slf4j/impl

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


Author: seb
Date: Tue Jul 25 14:47:28 2006
New Revision: 283

Modified:
   logback/classic/trunk/src/main/java/org/slf4j/impl/BasicMarker.java
Log:
Type Safety

Modified: logback/classic/trunk/src/main/java/org/slf4j/impl/BasicMarker.java
==============================================================================
--- logback/classic/trunk/src/main/java/org/slf4j/impl/BasicMarker.java	(original)
+++ logback/classic/trunk/src/main/java/org/slf4j/impl/BasicMarker.java	Tue Jul 25 14:47:28 2006
@@ -56,7 +56,7 @@
  */
 public class BasicMarker implements Marker {
   final String name;
-  List children;
+  List<Marker> children;
   final IMarkerFactory factory;
   
   BasicMarker(String name, IMarkerFactory factory) {
@@ -74,7 +74,7 @@
         "Null children cannot be added to a Marker.");
     }
     if (children == null) {
-      children = new Vector();
+      children = new Vector<Marker>();
     }
     children.add(child);
   }



More information about the logback-dev mailing list