Bela wrote:
anonymous wrote : Set children=new TreeSet(result), no need for a clone().

this must happen within the same transaction as getChildrennames(). If not 
using transactional locking there's still a chance that the Constructor of 
TreeSet will throw ConncurrentModificationException too. (It makes use of the 
Iterator of the 'result').

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3856821#3856821

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3856821


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to