replaced ArrayList with CopyOnWriteArrayList to avoid concurrent
modification.
Merge pull request #5 from gmcnaught/8639-conncurrent-modification

replaced ArrayList with CopyOnWriteArrayList to avoid concurrent