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

noreply.seb at qos.ch noreply.seb at qos.ch
Tue Jul 25 15:00:54 CEST 2006


Author: seb
Date: Tue Jul 25 15:00:53 2006
New Revision: 294

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

Modified: logback/core/trunk/src/main/java/ch/qos/logback/core/pattern/parser/TokenStream.java
==============================================================================
--- logback/core/trunk/src/main/java/ch/qos/logback/core/pattern/parser/TokenStream.java	(original)
+++ logback/core/trunk/src/main/java/ch/qos/logback/core/pattern/parser/TokenStream.java	Tue Jul 25 15:00:53 2006
@@ -54,7 +54,7 @@
   }
 
   List tokenize() throws ScanException {
-    List tokenList = new ArrayList();
+    List<Token> tokenList = new ArrayList<Token>();
     StringBuffer buf = new StringBuffer();
 
     while (pointer < patternLength) {



More information about the logback-dev mailing list