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:38:18 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-07-31 17:38:18 +0000
commita2581fb80c3cc1fde2596469a4e445fdbf118554 (patch)
treeec284692a5e1b50c13c48b716a741db3476f6489 /tests/src/com/android/inputmethod/latin/makedict/BinaryDictEncoderUtils.java
parenta61e424d0a63a5c86fa490a006c20767dd173d3f (diff)
parent892eabe4c5e89b89e5815f1e634450a69fe37db0 (diff)
downloadlatinime-a2581fb80c3cc1fde2596469a4e445fdbf118554.tar.gz
latinime-a2581fb80c3cc1fde2596469a4e445fdbf118554.tar.xz
latinime-a2581fb80c3cc1fde2596469a4e445fdbf118554.zip
Merge "Update language to comply with Android's inclusive language guidance" am: 9490b1b92f am: 892eabe4c5
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1382602 Change-Id: I97c7ce3619bbb6570117d9aad43f18ffa2664059
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