File tree Expand file tree Collapse file tree
src/java/org/apache/commons/codec/language Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ public char removeNext() {
258258 }
259259 }
260260
261- private static final char [][] PRE_REPLACEMENTS = new char [][] {
261+ private static final char [][] PREPROCESS_MAP = new char [][] {
262262 { '\u00C4' , 'A' }, // Ä
263263 { '\u00DC' , 'U' }, // Ü
264264 { '\u00D6' , 'O' }, // Ö
@@ -405,9 +405,9 @@ private String preprocess(String text) {
405405
406406 for (int index = 0 ; index < chrs .length ; index ++) {
407407 if (chrs [index ] > 'Z' ) {
408- for (int replacement = 0 ; replacement < PRE_REPLACEMENTS .length ; replacement ++) {
409- if (chrs [index ] == PRE_REPLACEMENTS [replacement ][0 ]) {
410- chrs [index ] = PRE_REPLACEMENTS [replacement ][1 ];
408+ for (int replacement = 0 ; replacement < PREPROCESS_MAP .length ; replacement ++) {
409+ if (chrs [index ] == PREPROCESS_MAP [replacement ][0 ]) {
410+ chrs [index ] = PREPROCESS_MAP [replacement ][1 ];
411411 break ;
412412 }
413413 }
You can’t perform that action at this time.
0 commit comments