am 8ff96805: Merge "Eliminate compiler warning" into gingerbread

Merge commit '8ff9680522c096ef76fbe087e50f04d76c172173' into gingerbread-plus-aosp

* commit '8ff9680522c096ef76fbe087e50f04d76c172173':
  Eliminate compiler warning
main
Tadashi G. Takaoka 2010-09-30 10:10:26 -07:00 committed by Android Git Automerger
commit 48ef72acef
1 changed files with 1 additions and 2 deletions

View File

@ -30,8 +30,7 @@ public class SharedPreferencesCompat {
private static Method findApplyMethod() { private static Method findApplyMethod() {
try { try {
Class cls = SharedPreferences.Editor.class; return SharedPreferences.Editor.class.getMethod("apply");
return cls.getMethod("apply");
} catch (NoSuchMethodException unused) { } catch (NoSuchMethodException unused) {
// fall through // fall through
} }