Skip to content

Commit

Permalink
Cherrypick googleapis#371.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwhisenhunt committed Mar 15, 2018
1 parent acfc41a commit f87f668
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ public Map.Entry<K, V> next() {
throw new NoSuchElementException();
}
this.nextIndex++;
this.removed = false;
return new Entry(index);
}

Expand All @@ -390,6 +391,7 @@ public void remove() {
throw new IllegalArgumentException();
}
ArrayMap.this.remove(index);
this.nextIndex--;
this.removed = true;
}
}
Expand Down

0 comments on commit f87f668

Please sign in to comment.