{
removeFragment(module);</BUG>
}
<BUG>else
{
removeHost(module);</BUG>
}
<BUG>}
private void addFragment(IModule fragment)
{
IModule bestFragment = indexFragment(m_fragmentMap, fragment);
</BUG>
if (bestFragment == fragment)

{
modules.remove(module);
if (modules.size() == 0)
{
m_singletons.remove(module.getSymbolicName());
}
}
if (Util.isFragment(module))
