am d6c1870d: am 5fceada3: Merge "Fragement, or Fragment: that is the question"

* commit 'd6c1870d434562a10e015915dd9da9f8a956661c':
  Fragement, or Fragment: that is the question
This commit is contained in:
Romain Guy
2013-09-30 16:23:05 -07:00
committed by Android Git Automerger

View File

@@ -574,12 +574,12 @@ final class FragmentManagerImpl extends FragmentManager {
return null;
}
if (index >= mActive.size()) {
throwException(new IllegalStateException("Fragement no longer exists for key "
throwException(new IllegalStateException("Fragment no longer exists for key "
+ key + ": index " + index));
}
Fragment f = mActive.get(index);
if (f == null) {
throwException(new IllegalStateException("Fragement no longer exists for key "
throwException(new IllegalStateException("Fragment no longer exists for key "
+ key + ": index " + index));
}
return f;