You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2004/09/05 13:14:46 UTC

cvs commit: jakarta-commons/jelly/src/java/org/apache/commons/jelly/expression CompositeExpression.java

dion        2004/09/05 04:14:46

  Modified:    jelly/src/java/org/apache/commons/jelly/expression
                        CompositeExpression.java
  Log:
  Remove unused variable
  
  Revision  Changes    Path
  1.11      +0 -8      jakarta-commons/jelly/src/java/org/apache/commons/jelly/expression/CompositeExpression.java
  
  Index: CompositeExpression.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/src/java/org/apache/commons/jelly/expression/CompositeExpression.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- CompositeExpression.java	29 Aug 2004 13:20:54 -0000	1.10
  +++ CompositeExpression.java	5 Sep 2004 11:14:46 -0000	1.11
  @@ -124,11 +124,8 @@
                                                   while(cur<len) {
                                                       c = text.charAt(cur);
   
  -                                                    boolean escape = false;
  -
                                                       switch ( c ) {
                                                           case('\\'):
  -                                                            escape = true;
                                                               ++cur;
                                                               expr.append(c);
                                                               break;
  @@ -137,7 +134,6 @@
                                                               expr.append(c);
                                                               break DOUBLE_QUOTE;
                                                           default:
  -                                                            escape=false;
                                                               ++cur;
                                                               expr.append(c);
                                                       } // switch
  @@ -151,11 +147,8 @@
                                                   while(cur<len) {
                                                       c = text.charAt(cur);
   
  -                                                    boolean escape = false;
  -
                                                       switch ( c ) {
                                                           case('\\'):
  -                                                            escape = true;
                                                               ++cur;
                                                               expr.append(c);
                                                               break;
  @@ -164,7 +157,6 @@
                                                               expr.append(c);
                                                               break SINGLE_QUOTE;
                                                           default:
  -                                                            escape=false;
                                                               ++cur;
                                                               expr.append(c);
                                                       } // switch
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org