[LOGBack-dev] svn commit: r295 - 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:01:20 CEST 2006


Author: seb
Date: Tue Jul 25 15:01:20 2006
New Revision: 295

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:01:20 2006
@@ -171,7 +171,7 @@
     }
   }
 
-  private void addValuedToken(int type, StringBuffer buf, List tokenList) {
+  private void addValuedToken(int type, StringBuffer buf, List<Token> tokenList) {
     if (buf.length() > 0) {
       tokenList.add(new Token(type, buf.toString()));
       buf.setLength(0);



More information about the logback-dev mailing list