am 8ff96805: Merge "Eliminate compiler warning" into gingerbread
Merge commit '8ff9680522c096ef76fbe087e50f04d76c172173' into gingerbread-plus-aosp
* commit '8ff9680522c096ef76fbe087e50f04d76c172173':
Eliminate compiler warning
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
}