This content has been marked as final.
Show 1 reply
-
1. Re: Why is this so written?
clebert.suconic Mar 12, 2009 9:53 AM (in response to gaohoward)This was done during https://jira.jboss.org/jira/browse/JBMESSAGING-1262:
We had a couple of other similar 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.