fixed git merge problem

Former-commit-id: b1d18d5ce568d266837ddf06174b15d7462b8fcd
This commit is contained in:
Jeremy Long
2013-09-02 16:19:47 -04:00
parent f7a83d5a60
commit d0fb41e582
2 changed files with 5 additions and 9 deletions

View File

@@ -459,7 +459,7 @@ public class CPEAnalyzer implements Analyzer {
list.add(word);
}
}
if (tempWord != null) {
if (tempWord != null && !list.isEmpty()) {
String tmp = list.get(list.size() - 1) + tempWord;
list.add(tmp);
}