Collections.sort(configurations, Util.COMPONENT_COMPARATOR);
if (configurations.size() == 0)
{
return NO_INFO;
}
<BUG>BundleInfo[] ret = new BundleInfo[configurations.size()];

int i=0;
for (final ComponentConfigurationDTO cfg : configurations)</BUG>
{

Collections.sort(configurations, Util.COMPONENT_COMPARATOR);
if (configurations.size() == 0)
{
return NO_INFO;
}
BundleInfo[] ret = new BundleInfo[configurations.size() + disabled.size()];
int i=0;
for (final ComponentDescriptionDTO cfg : disabled)
{
