santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47779] ConcurrentModificationException in XMLUtils
Date Fri, 04 Sep 2009 15:43:33 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47779



--- Comment #3 from coheigea <coheigea@apache.org> 2009-09-04 08:43:32 PDT ---
Good catch! Would it not be better to just declare namePrefixes as:

Collections.synchronizedMap(new HashMap());

That would remove the call to Collections.unmodifiableMap each time the method
is invoked, as well as the synchronized block.

Colm.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message