commented out unused

This commit is contained in:
Lukáš Vlček 2011-06-21 16:07:52 +02:00 committed by kimchy
parent 2f9a1c7a6a
commit a9a80958ce
1 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ public class SynonymTokenFilterFactory extends AbstractTokenFilterFactory {
static void parseRules(List<String> rules, SynonymMap map, String mappingSep,
String synSep, boolean expansion, TokenizerFactory tokFactory) {
int count = 0;
// int count = 0;
for (String rule : rules) {
// To use regexes, we need an expression that specifies an odd number of chars.
// This can't really be done with string.split(), and since we need to
@ -106,7 +106,7 @@ public class SynonymTokenFilterFactory extends AbstractTokenFilterFactory {
boolean includeOrig = false;
for (List<String> fromToks : source) {
count++;
// count++;
for (List<String> toToks : target) {
map.add(fromToks,
SynonymMap.makeTokens(toToks),