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

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

View File

@@ -569,12 +569,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;