ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/filters FixCrLfFilter.java
Date Fri, 11 Mar 2005 14:15:16 GMT
bodewig     2005/03/11 06:15:16

  Modified:    src/main/org/apache/tools/ant/filters FixCrLfFilter.java
  Log:
  Fix fallthrough with unwanted side-effect
  
  Revision  Changes    Path
  1.5       +2 -0      ant/src/main/org/apache/tools/ant/filters/FixCrLfFilter.java
  
  Index: FixCrLfFilter.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/filters/FixCrLfFilter.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- FixCrLfFilter.java	8 Mar 2005 19:13:37 -0000	1.4
  +++ FixCrLfFilter.java	11 Mar 2005 14:15:16 -0000	1.5
  @@ -531,11 +531,13 @@
                   case '"' : state    = IN_STR_CONST; break;
                   default  : state    = JAVA;
                   }
  +                break;
               case TRANS_FROM_MULTI:
                   // The current character is always emitted.
                   switch (thisChar) {
                   case '/': state = JAVA; break;
                   }
  +                break;
               }
               return thisChar;
           }
  
  
  

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


Mime
View raw message