This was done during
https://jira.jboss.org/jira/browse/JBMESSAGING-1262:
We had a couple of other methods that used to do loops for other reasons. That method was
probably a modification of those methods and that's probably the only reason. So I
would say you could use the .get instead of the loop on that case.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217459#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...