diff options
author | 2020-07-22 14:08:35 -0700 | |
---|---|---|
committer | 2020-07-22 14:08:35 -0700 | |
commit | f53e034a174b473519c0a4755fb9440dc9ecbfcf (patch) | |
tree | ae3905d1c9f88100c160e6f8800d272adebfdd41 /java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | |
parent | daadf71015bf37651ed81a2d5877b480736db5cd (diff) | |
download | latinime-f53e034a174b473519c0a4755fb9440dc9ecbfcf.tar.gz latinime-f53e034a174b473519c0a4755fb9440dc9ecbfcf.tar.xz latinime-f53e034a174b473519c0a4755fb9440dc9ecbfcf.zip |
Update language to comply with Android’s inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference
Bug: 161896447
Test: tapas LatinIME && m
Change-Id: I2ffb39ff70f61e579b62761d3da526a545dead1f
Diffstat (limited to 'java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java index 1dd5850f8..a7804a13f 100644 --- a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java +++ b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java @@ -805,7 +805,7 @@ public final class InputLogic { if (SpaceState.PHANTOM == inputTransaction.mSpaceState && !settingsValues.isWordConnector(codePoint)) { if (isComposingWord) { - // Sanity check + // Validity check throw new RuntimeException("Should not be composing here"); } insertAutomaticSpaceIfOptionsAndTextAllow(settingsValues); @@ -1370,7 +1370,7 @@ public final class InputLogic { * @return whether it's fine to apply the transformation after this code point. */ private static boolean canBeFollowedByDoubleSpacePeriod(final int codePoint) { - // TODO: This should probably be a blacklist rather than a whitelist. + // TODO: This should probably be a denylist rather than a allowlist. // TODO: This should probably be language-dependant... return Character.isLetterOrDigit(codePoint) || codePoint == Constants.CODE_SINGLE_QUOTE |