spring-projects/spring-framework — pull request #537 by sdeleuze (2014-05-05 08:35:20+00:00)
Title: Fixed DestinationCache to avoid ConcurrentModificationException

Moved the cached destination removal outside the for loop.

Since updateCache is a LinkedHashMap with accessOrder=true,
a simple access with updateCache.get() modify the map.
By iterating over updateCache.entrySet(), we avoid this update.

Issue: SPR-11755