OSDN Git Service

b/2273942 Fixed iterator concurrent modification error.
authorErik <roboerik@android.com>
Wed, 24 Feb 2010 23:47:13 +0000 (15:47 -0800)
committerErik <roboerik@android.com>
Thu, 25 Feb 2010 02:31:01 +0000 (18:31 -0800)
commit4a8bc461b908ef32851d1dc1b73c20b7282d10d8
tree15d477ee0fb4f956478c8b2741d07d77fbb1ca11
parent610380d597b3efa3c7c4e0caa023d4ed54b468bf
b/2273942 Fixed iterator concurrent modification error.

Invalid addresses were being removed from a list while iterating through it, causing a
ConcurrentModificationException. Changed the loop to use an explicit iterator and do
removals through that iterator.
src/com/android/calendar/EditEvent.java