mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Small readability improvement (A100)
Change-Id: I6340748654a95d203ed43ceb9a7e6468b5b8ab1c
This commit is contained in:
parent
860a9f85ff
commit
82d5ed6fcd
@ -125,8 +125,8 @@ public class BinaryDictionary extends Dictionary {
|
||||
|
||||
final int count;
|
||||
if (composer.size() <= 1) {
|
||||
count = TextUtils.isEmpty(prevWord) ? -1 : getBigramsInternal(composer,
|
||||
prevWordCodePointArray);
|
||||
if (TextUtils.isEmpty(prevWord)) return null;
|
||||
count = getBigramsInternal(composer, prevWordCodePointArray);
|
||||
} else {
|
||||
count = getWordsInternal(composer, prevWordCodePointArray, proximityInfo);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user