aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-05-21 15:54:43 +0900
committerTadashi G. Takaoka <takaoka@google.com>2012-05-21 17:04:38 +0900
commitfc0a0015f8859dc6c218af69f154687fab031fe9 (patch)
tree810f6aa19da65356519d4f56a52923acc0c661b5 /java/src
parent65331d6ea75873808d9cda4a589297e1a8fd9a27 (diff)
downloadlatinime-fc0a0015f8859dc6c218af69f154687fab031fe9.tar.gz
latinime-fc0a0015f8859dc6c218af69f154687fab031fe9.tar.xz
latinime-fc0a0015f8859dc6c218af69f154687fab031fe9.zip
Mark UserDictionary and ContactsDictionary as deprecated
Bug: 6473962 Change-Id: I14477f99f67aedf756d9387ec1d50ef57a1c079e
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/latin/ContactsDictionary.java6
-rw-r--r--java/src/com/android/inputmethod/latin/UserDictionary.java6
2 files changed, 10 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/ContactsDictionary.java b/java/src/com/android/inputmethod/latin/ContactsDictionary.java
index 83bc9046b..2f3395245 100644
--- a/java/src/com/android/inputmethod/latin/ContactsDictionary.java
+++ b/java/src/com/android/inputmethod/latin/ContactsDictionary.java
@@ -28,6 +28,12 @@ import android.util.Log;
import com.android.inputmethod.keyboard.Keyboard;
+// TODO: This class is superseded by {@link ContactsBinaryDictionary}. Should be cleaned up.
+/**
+ * An expandable dictionary that stores the words from Contacts provider.
+ *
+ * @deprecated Use {@link ContactsBinaryDictionary}.
+ */
public class ContactsDictionary extends ExpandableDictionary {
private static final String[] PROJECTION = {
diff --git a/java/src/com/android/inputmethod/latin/UserDictionary.java b/java/src/com/android/inputmethod/latin/UserDictionary.java
index ea57db57c..81e2fdce4 100644
--- a/java/src/com/android/inputmethod/latin/UserDictionary.java
+++ b/java/src/com/android/inputmethod/latin/UserDictionary.java
@@ -29,10 +29,12 @@ import com.android.inputmethod.keyboard.ProximityInfo;
import java.util.Arrays;
+// TODO: This class is superseded by {@link UserBinaryDictionary}. Should be cleaned up.
/**
* An expandable dictionary that stores the words in the user unigram dictionary.
- * To be deprecated: functionality being transferred to UserBinaryDictionary.
-*/
+ *
+ * @deprecated Use {@link UserBinaryDictionary}.
+ */
public class UserDictionary extends ExpandableDictionary {
// TODO: use Words.SHORTCUT when it's public in the SDK