Browse Source

Fix fallthrough with unwanted side-effect

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277903 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 20 years ago
parent
commit
39317abcdc
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/main/org/apache/tools/ant/filters/FixCrLfFilter.java

+ 2
- 0
src/main/org/apache/tools/ant/filters/FixCrLfFilter.java View File

@@ -531,11 +531,13 @@ public final class FixCrLfFilter
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;
}


Loading…
Cancel
Save