nocommit -> TODO

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1169474 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2011-09-11 16:39:59 +00:00
parent cfaf91c739
commit a027a35583
1 changed files with 2 additions and 2 deletions

View File

@ -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 entries
int 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 differently
while ((line = reader.readLine()) != null) {
String entry;