commit | 02f1c1534c2060aaea7a9a020ce87f6c5ff5d8e0 | [log] [tgz] |
---|---|---|
author | Jean Chalard <jchalard@google.com> | Wed Jul 11 17:21:37 2012 +0900 |
committer | Jean Chalard <jchalard@google.com> | Thu Jul 12 15:09:48 2012 +0900 |
tree | 395046c3f60bc98d6eea4913743d80ebaeb80f91 | |
parent | ae13061245e6a82863416456a461207d871a89ff [diff] |
Cleanup (A113) If not composing a word, then consideredWord is always the empty string. Hence, it's never whitelisted, but it's also always "NotAWord", so isWhitelistedOrNotAWord returns always true, so allowsToBeAutoCorrected is always true. Which means that isPrediction implies allowsToBeAutoCorrected == true. Thus, !isPrediction && !allowsToBeAutoCorrected is strictly equivalent to !allowsToBeAutocorrected. Change-Id: I4ad7a7c3447851c539646d97cf55ff065e6ee115