for (int reqIdx = 0;
<BUG>(reqs != null) && (reqIdx < reqs.length);
</BUG>
reqIdx++)
{
<BUG>if (reqs[reqIdx].getNamespace().equals(ICapability.PACKAGE_NAMESPACE))
</BUG>
{
<BUG>reqList.add(reqs[reqIdx]);
</BUG>
}

for (int reqIdx = 0;
(reqs != null) && (reqIdx < reqs.size());
reqIdx++)
{
if (reqs.get(reqIdx).getNamespace().equals(Capability.PACKAGE_NAMESPACE)
|| reqs.get(reqIdx).getNamespace().equals(Capability.MODULE_NAMESPACE))
{
reqList.add(
new FragmentRequirement(
reqs.get(reqIdx), m_fragments.get(fragIdx)));
