Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1aac29c3 authored by Adam Lesinski's avatar Adam Lesinski Committed by Android (Google) Code Review
Browse files

Merge "Fix off-by-one issue when removing from Iterator" into klp-dev

parents 7791b84c 83c7ac3b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -97,10 +97,10 @@ abstract class MapCollections<K, V> {
            if (!mEntryValid) {
                throw new IllegalStateException();
            }
            colRemoveAt(mIndex);
            mIndex--;
            mEnd--;
            mEntryValid = false;
            colRemoveAt(mIndex);
        }

        @Override