commit | f1b510462fad73de1e7f7bfad2f0637c9cf65cd7 | [log] [tgz] |
---|---|---|
author | Todd Kennedy <toddke@google.com> | Mon Jan 31 17:39:44 2011 -0800 |
committer | Todd Kennedy <toddke@google.com> | Mon Jan 31 17:39:44 2011 -0800 |
tree | dd7b41ff737315cb59ebe8dfb7e09e3568b39f79 | |
parent | 978e75ee90c621ab965e592bc7c4b562bae08502 [diff] |
Fix ConcurrentAccessException in unit tests The ContentCache is now an LRU cache. This means we must NOT access the cache while using any iterator over the cache. In this case, we were calling get() using an iterator of cache keys. Change-Id: I2d1feabff7474b6f2a230b98f97df067ab7ccd9c