diff options
author | 2014-10-22 14:04:07 +0900 | |
---|---|---|
committer | 2014-10-23 09:58:42 +0900 | |
commit | d3a4c5132422b189c8dbb94dbbe84a9b9761b0a8 (patch) | |
tree | 0f2e5b9e4dfb35bc1794033621943ec1fe607f52 /java/src/com/android/inputmethod/latin/Dictionary.java | |
parent | 924b8fd0fa456a084358ce916ac2b637b915946e (diff) | |
download | latinime-d3a4c5132422b189c8dbb94dbbe84a9b9761b0a8.tar.gz latinime-d3a4c5132422b189c8dbb94dbbe84a9b9761b0a8.tar.xz latinime-d3a4c5132422b189c8dbb94dbbe84a9b9761b0a8.zip |
Fix Javadoc and null analysis related warnings
This CL also adds @SuppressWarning("unused" to java-overridable package.
Bug: 18003991
Change-Id: If70527e30654384705d7a814f5efd181d9f539e1
Diffstat (limited to 'java/src/com/android/inputmethod/latin/Dictionary.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/Dictionary.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/Dictionary.java b/java/src/com/android/inputmethod/latin/Dictionary.java index d8f1b2a20..28a62b283 100644 --- a/java/src/com/android/inputmethod/latin/Dictionary.java +++ b/java/src/com/android/inputmethod/latin/Dictionary.java @@ -120,10 +120,18 @@ public abstract class Dictionary { */ abstract public boolean isInDictionary(final String word); + /** + * Get the frequency of the word. + * @param word the word to get the frequency of. + */ public int getFrequency(final String word) { return NOT_A_PROBABILITY; } + /** + * Get the maximum frequency of the word. + * @param word the word to get the maximum frequency of. + */ public int getMaxFrequencyOfExactMatches(final String word) { return NOT_A_PROBABILITY; } |