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

noreply.ceki at qos.ch noreply.ceki at qos.ch
Tue Aug 11 22:58:13 CEST 2009


Author: ceki
Date: Tue Aug 11 22:58:13 2009
New Revision: 2442

Modified:
   logback/trunk/logback-core/src/main/java/ch/qos/logback/core/pattern/parser/Parser.java

Log:
- unread variable. Problem was detected by Sonar.

Modified: logback/trunk/logback-core/src/main/java/ch/qos/logback/core/pattern/parser/Parser.java
==============================================================================
--- logback/trunk/logback-core/src/main/java/ch/qos/logback/core/pattern/parser/Parser.java	(original)
+++ logback/trunk/logback-core/src/main/java/ch/qos/logback/core/pattern/parser/Parser.java	Tue Aug 11 22:58:13 2009
@@ -14,7 +14,6 @@
 
   final List tokenList;
   int pointer = 0;
-  IEscapeUtil escapeUtil; 
   
   Parser(TokenStream ts) throws ScanException {
     this.tokenList = ts.tokenize();
@@ -26,7 +25,6 @@
   }
   
   public Parser(String pattern, IEscapeUtil escapeUtil) throws ScanException {
-    this.escapeUtil = escapeUtil;
     try {
       TokenStream ts = new TokenStream(pattern, escapeUtil);
       this.tokenList = ts.tokenize();


More information about the logback-dev mailing list