commit | 8ff9680522c096ef76fbe087e50f04d76c172173 | [log] [tgz] |
---|---|---|
author | Tadashi G. Takaoka <takaoka@google.com> | Wed Sep 29 20:51:34 2010 -0700 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Wed Sep 29 20:51:34 2010 -0700 |
tree | 71cc2301bc17b50a503d0a8f0ff9b8a9aa27014d | |
parent | eebe37e83695e2542cb71fd81b244e1949ca8522 [diff] | |
parent | e7cfc8ab8853e215b655f2184c47036e117aa8c7 [diff] |
Merge "Eliminate compiler warning" into gingerbread
diff --git a/java/src/com/android/inputmethod/latin/SharedPreferencesCompat.java b/java/src/com/android/inputmethod/latin/SharedPreferencesCompat.java index 8364c90..1d36c0b 100644 --- a/java/src/com/android/inputmethod/latin/SharedPreferencesCompat.java +++ b/java/src/com/android/inputmethod/latin/SharedPreferencesCompat.java
@@ -30,8 +30,7 @@ private static Method findApplyMethod() { try { - Class cls = SharedPreferences.Editor.class; - return cls.getMethod("apply"); + return SharedPreferences.Editor.class.getMethod("apply"); } catch (NoSuchMethodException unused) { // fall through }