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

Merge commit '48ef72acef92bb774bad84d647427eaab0acc83b'

* commit '48ef72acef92bb774bad84d647427eaab0acc83b':
  Eliminate compiler warning
main
Tadashi G. Takaoka 2010-09-30 13:37:27 -07:00 committed by Android Git Automerger
commit e909d4f12e
1 changed files with 1 additions and 2 deletions

View File

@ -30,8 +30,7 @@ public class SharedPreferencesCompat {
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
}