mirror of https://github.com/M66B/FairEmail.git
Simplification
This commit is contained in:
parent
7094d2b9cc
commit
d7a15b589a
|
@ -388,7 +388,6 @@ public class MessageClassifier {
|
|||
}
|
||||
|
||||
private static int getWordIndex(String word) {
|
||||
synchronized (wordIndex) {
|
||||
Integer index = wordIndex.get(word);
|
||||
if (index == null) {
|
||||
index = wordIndex.size();
|
||||
|
@ -396,7 +395,6 @@ public class MessageClassifier {
|
|||
}
|
||||
return index;
|
||||
}
|
||||
}
|
||||
|
||||
private static String getWord(Integer index) {
|
||||
if (index == null)
|
||||
|
|
Loading…
Reference in New Issue