DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=35955>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=35955 ------- Additional Comments From [EMAIL PROTECTED] 2005-08-06 06:33 ------- I don't know that I would go so far as to classify this particular method's signature as one of "worst design decisions" and not consider Commons Collections as "otherwise useless software" (I don't know if your statement was aimed at this particular case or this particular instance). I would agree, though, that backward compatibility does seem to be a pain at times. However, I think I've solved your problem. To make your code a little more palatable, why don't you write your own helper method in some class... public static Closure forAllDo( Collection col, Closure closure ) { CollectionUtils.forAllDo( col, closure ); retur closure; } You could even make it use generics, if you wish. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
