2011/5/30 Jason Pyeron <jpye...@pdinc.us>: > In the convert method: > > } else if (value instanceof Enumeration) { > Enumeration enumeration = (Enumeration) value; > ArrayList list = new ArrayList(); > > while (enumeration.hasMoreElements()) { > list.add(enumeration.nextElement()); > } > > iterator = list.iterator(); > } else { > > > Why is a wrapper not being used? This is in effect doing double iteration, > extra > memory, etc. > > There is a wrapper in org.apache.struts2.util.IteratorFilterSupport: > EnumerationIterator. > > Any reasons it should not be patched?
Nop, I think it was simple oversight ;-) Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org