Apache Lucene open-source search software
nocommit -> TODO
Robert Muira027a3558313
diff --git a/modules/analysis/common/src/java/org/apache/lucene/analysis/hunspell/HunspellDictionary.java b/modules/analysis/common/src/java/org/apache/lucene/analysis/hunspell/HunspellDictionary.javaindex 3d12e06a7d6..ccb3696ee1c 100644--- a/modules/analysis/common/src/java/org/apache/lucene/analysis/hunspell/HunspellDictionary.java+++ b/modules/analysis/common/src/java/org/apache/lucene/analysis/hunspell/HunspellDictionary.java@@ -283,11 +283,11 @@ public class HunspellDictionary {*/private void readDictionaryFile(InputStream dictionary, CharsetDecoder decoder) throws IOException {BufferedReader reader = new BufferedReader(new InputStreamReader(dictionary, decoder));- // nocommit, don't create millions of strings.+ // TODO: don't create millions of strings.String line = reader.readLine(); // first line is number of entriesint numEntries = Integer.parseInt(line);- // nocommit, the flags themselves can be double-chars (long) or also numeric+ // TODO: the flags themselves can be double-chars (long) or also numeric// either way the trick is to encode them as char... but they must be parsed differentlywhile ((line = reader.readLine()) != null) {String entry;