if (names != null)
{
for (int i = 0, length = names.length; i < length; i++)
{
String name = names[i];
<BUG>result.add(createComponentAdapter(ctx.getType(name), name));
</BUG>
}
}
}

if (names != null)
{
for (int i = 0, length = names.length; i < length; i++)
{
String name = names[i];
result.add((ComponentAdapter<T>)createComponentAdapter(ctx.getType(name), name));
}
}
}
