am 1aac29c3: Merge "Fix off-by-one issue when removing from Iterator" into klp-dev

* commit '1aac29c3dd6feece257882469d9825255c69c736':
  Fix off-by-one issue when removing from Iterator
This commit is contained in:
Adam Lesinski
2013-11-06 09:51:14 -08:00
committed by Android Git Automerger

View File

@@ -97,10 +97,10 @@ abstract class MapCollections<K, V> {
if (!mEntryValid) {
throw new IllegalStateException();
}
colRemoveAt(mIndex);
mIndex--;
mEnd--;
mEntryValid = false;
colRemoveAt(mIndex);
}
@Override