Merge "Fix a bug ending in a NPE in some rare cases."
This commit is contained in:
commit
091ee76285
1 changed files with 2 additions and 2 deletions
|
@ -268,7 +268,7 @@ public class FusionDictionary implements Iterable<Word> {
|
|||
+ new String(word, 0, word.length));
|
||||
}
|
||||
final CharGroup newGroup = new CharGroup(word,
|
||||
currentGroup.mBigrams, frequency);
|
||||
currentGroup.mBigrams, frequency, currentGroup.mChildren);
|
||||
currentNode.mData.set(nodeIndex, newGroup);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue