[ http://issues.apache.org/jira/browse/GERONIMO-2009?page=all ]
David Jencks closed GERONIMO-2009:
----------------------------------
Resolution: Fixed
applied rev 405886
> JarFileResourceFinder ResourceEnumeration can't count.
> ------------------------------------------------------
>
> Key: GERONIMO-2009
> URL: http://issues.apache.org/jira/browse/GERONIMO-2009
> Project: Geronimo
> Type: Bug
> Security: public(Regular issues)
> Components: kernel
> Versions: 1.1
> Reporter: David Jencks
> Assignee: David Jencks
> Fix For: 1.1
> Attachments: 2009_JarFileResourceFinder.diff
>
> JarFileResourceFinder.ResourceEnumeration always advances its iterator when
> you call hasMoreElements() and nextElement(), so in a typical loop you only
> get half the elements.
> I'll apply the patch when svn revives.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira