` else { //Matches matchList.add(new MatchInfo(e, "")); matchList.addAll(this.getMatchingExpansions(og.getChildExpansion(), words, wordPosition)); } ` 需要改成 ` else { //Matches matchList.add(new MatchInfo(e, "")); matchList.addAll(m1); } ` 否则会有意想不到的错误
else { //Matches matchList.add(new MatchInfo(e, "")); matchList.addAll(this.getMatchingExpansions(og.getChildExpansion(), words, wordPosition)); }需要改成
else { //Matches matchList.add(new MatchInfo(e, "")); matchList.addAll(m1); }否则会有意想不到的错误