https://issues.apache.org/bugzilla/show_bug.cgi?id=47779
--- Comment #3 from coheigea <cohei...@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.