{
m_resolvedCapMap.put(module, resolvedCaps = new ArrayList());</BUG>
}
<BUG>if (!resolvedCaps.contains(capsCopy[capIdx]))
{
resolvedCaps.add(capsCopy[capIdx]);
}
if (capsCopy[capIdx].getNamespace().equals(ICapability.PACKAGE_NAMESPACE))
</BUG>
{

{
List matchingHosts = getMatchingHosts(rootModule);
Module currentBestHost = null;
for (int hostIdx = 0; hostIdx < matchingHosts.size(); hostIdx++)
{
