}
m_logger.log(Logger.LOG_ERROR,
"Serious error attaching fragments.", ex);
}
caps = host.getCapabilities();
<BUG>for (int i = 0; (caps != null) && (i < caps.length); i++)

{
if (caps[i].getNamespace().equals(ICapability.PACKAGE_NAMESPACE))
</BUG>
{

}
}
fragmentList.add(
(index < 0) ? fragmentList.size() : index, bestFragment);
List<Capability> caps = host.getCapabilities();
for (int i = 0; (caps != null) && (i < caps.size()); i++)
