aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/StringUtils.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-04-06 11:49:48 +0900
committerTadashi G. Takaoka <takaoka@google.com>2012-04-06 12:27:53 +0900
commita4c7733cf7b5c0f970d1a8e52ee52b6199f56031 (patch)
treedfae7d950c82ab32d9dfb3762edf8e485bf89b10 /java/src/com/android/inputmethod/latin/StringUtils.java
parentfc169c726a12f47c3641fc2570d16aa26825710c (diff)
downloadlatinime-a4c7733cf7b5c0f970d1a8e52ee52b6199f56031.tar.gz
latinime-a4c7733cf7b5c0f970d1a8e52ee52b6199f56031.tar.xz
latinime-a4c7733cf7b5c0f970d1a8e52ee52b6199f56031.zip
Cleanup unused methods
Change-Id: Ic7c1ec0e0606da6eb5b954934547c6e8a561fed5
Diffstat (limited to 'java/src/com/android/inputmethod/latin/StringUtils.java')
-rw-r--r--java/src/com/android/inputmethod/latin/StringUtils.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/StringUtils.java b/java/src/com/android/inputmethod/latin/StringUtils.java
index 42fce53d0..649cd650a 100644
--- a/java/src/com/android/inputmethod/latin/StringUtils.java
+++ b/java/src/com/android/inputmethod/latin/StringUtils.java
@@ -46,7 +46,7 @@ public class StringUtils {
return text.codePointCount(0, text.length());
}
- public static boolean containsInCsv(String key, String csv) {
+ private static boolean containsInCsv(String key, String csv) {
if (csv == null)
return false;
for (String option : csv.split(",")) {
@@ -129,7 +129,7 @@ public class StringUtils {
/**
* Remove duplicates from an array of strings.
*
- * This method will always keep the first occurence of all strings at their position
+ * This method will always keep the first occurrence of all strings at their position
* in the array, removing the subsequent ones.
*/
public static void removeDupes(final ArrayList<CharSequence> suggestions) {