{
m_logger.log(Logger.LOG_ERROR, "Error detaching fragments.", ex);
}
((ModuleImpl) host).setWires(null);
}
<BUG>private List getMatchingFragments(IModule host)
{
ICapability[] caps = Util.getCapabilityByNamespace(host, ICapability.HOST_NAMESPACE);

ICapability hostCap = (caps.length == 0) ? null : caps[0];
</BUG>
List fragmentList = new ArrayList();

{
Requirement hostReq = getFragmentHostRequirement(fragment);
List matchingHosts = new ArrayList();
