mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix an NPE in recent code
Change-Id: I5c76edff5c3c250167d425a737b09b10e25f9f84
This commit is contained in:
parent
01f6a61e51
commit
acafc073b9
@ -144,7 +144,9 @@ public class Diff extends Dicttool.Command {
|
||||
System.out.println("Bigram removed: " + word + " " + attribute0.mWord + " "
|
||||
+ attribute0.mFrequency);
|
||||
}
|
||||
} else if (null != list0) {
|
||||
return;
|
||||
}
|
||||
if (null != list0) {
|
||||
for (final WeightedString attribute0 : list0) {
|
||||
// The following tests with #equals(). The WeightedString#equals() method returns
|
||||
// true if both the string and the frequency are the same.
|
||||
|
Loading…
Reference in New Issue
Block a user