mirror of https://github.com/apache/lucene.git
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:
parent
cfaf91c739
commit
a027a35583
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue