<CONTEXT>for (int i = 0; (wires != null) && (i < wires.length); i++)</BUG>{<extra_id_0>{<BUG>if (wires[i].getCapability().getNamespace().equals(ICapability.PACKAGE_NAMESPACE) &&wires[i].getCapability().getProperties().get(ICapability.PACKAGE_PROPERTY).equals(pkgName)){String exporter = wires[i].getExporter().getBundle().toString();</BUG>StringBuffer sb = new StringBuffer("*** Package '");</CONTEXT>
if (pkgName.length() == 0)return null;}String importer = module.getBundle().toString();List<Wire> wires = module.getWires();for (int i = 0; (wires != null) && (i < wires.size()); i++)if (wires.get(i).getCapability().getNamespace().equals(Capability.PACKAGE_NAMESPACE) &&wires.get(i).getCapability().getAttribute(Capability.PACKAGE_ATTR).getValue().equals(pkgName))String exporter = wires.get(i).getExporter().getBundle().toString();