aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/makedict/BinaryDictEncoderUtils.java
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-07-31 17:21:34 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-07-31 17:21:34 +0000
commit892eabe4c5e89b89e5815f1e634450a69fe37db0 (patch)
treee51545002412eaf54a8a1252a0d34a4b0b73d3fc /tests/src/com/android/inputmethod/latin/makedict/BinaryDictEncoderUtils.java
parenta2695d0ca6d6fbe03aed87513cdf54ae440e08f0 (diff)
parent9490b1b92f06c83d9d596833ef4d38de10b8ef4b (diff)
downloadlatinime-892eabe4c5e89b89e5815f1e634450a69fe37db0.tar.gz
latinime-892eabe4c5e89b89e5815f1e634450a69fe37db0.tar.xz
latinime-892eabe4c5e89b89e5815f1e634450a69fe37db0.zip
Merge "Update language to comply with Android's inclusive language guidance" am: 9490b1b92f
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1382602 Change-Id: Ie77533b68469bf4018bffdecda72792fe89aba71
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/makedict/BinaryDictEncoderUtils.java')
-rw-r--r--tests/src/com/android/inputmethod/latin/makedict/BinaryDictEncoderUtils.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/com/android/inputmethod/latin/makedict/BinaryDictEncoderUtils.java b/tests/src/com/android/inputmethod/latin/makedict/BinaryDictEncoderUtils.java
index bd5136583..2ae5bf5c1 100644
--- a/tests/src/com/android/inputmethod/latin/makedict/BinaryDictEncoderUtils.java
+++ b/tests/src/com/android/inputmethod/latin/makedict/BinaryDictEncoderUtils.java
@@ -446,7 +446,7 @@ public class BinaryDictEncoderUtils {
}
/**
- * Sanity-checking method.
+ * Validity-checking method.
*
* This method checks a list of PtNode arrays for juxtaposition, that is, it will do
* nothing if each node array's cached address is actually the previous node array's address
@@ -664,7 +664,7 @@ public class BinaryDictEncoderUtils {
+ "of the node : " + dictEncoder.getPosition() + " <> "
+ ptNode.mCachedAddressAfterUpdate);
}
- // Sanity checks.
+ // Validity checks.
if (DBG && ptNode.getProbability() > FormatSpec.MAX_TERMINAL_FREQUENCY) {
throw new RuntimeException("A node has a frequency > "
+ FormatSpec.MAX_TERMINAL_FREQUENCY