Merge "Fragement, or Fragment: that is the question"

This commit is contained in:
Romain Guy
2013-09-30 22:48:44 +00:00
committed by Gerrit Code Review

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;