Hi Sven, thanks for pointing that out. It should be a fixed now, I
think. If you wanted to take another look to double-check my work,
that would be appreciated.
Daniel Rall
Sven Homburg <[EMAIL PROTECTED]> writes:
> Hi there,
>
> i think there is a bug in the turbine-moduleloader
>
> private Iterator getAllPossibleModules(Iterator i, Iterator j, String type)
> {
> FastArrayList modules = new FastArrayList();
> FastArrayList defaultModules = new FastArrayList();
>
> while (i.hasNext())
> {
> String modulePackage = (String) i.next();
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> + here is a bug, if "i" has more than one element
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> while (j.hasNext())
> {
> String module = modulePackage + "." + type + "." + (String) j.next();
> modules.add(module);
>
> }
>
> // Add default for type
> defaultModules.add(modulePackage + "." + getDefaultModule(type));
> }
>
> modules.addAll(defaultModules);
>
> return modules.iterator();
> }
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>