ResolverExport removed = importer.getExport(imports[i]); if(removed != null) resolverExports.put(removed);
	private boolean checkAndResolveDependencies(ResolverImport imp, ResolverExport exp) {		if (DEBUG_GROUPING)			ResolverImpl.log("  Checking grouping for " + imp.getBundle() + ":" + imp.getName() + " -> " + exp.getExporter() + ":" + exp.getName()); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$		ResolverBundle importer = imp.getBundle();		ResolverExport clash = groupingChecker.isConsistent(imp, exp);		if (clash == null)			return true;		if (DEBUG_GROUPING)			ResolverImpl.log("  * grouping clash with " + clash.getExporter() + ":" + clash.getName()); //$NON-NLS-1$ //$NON-NLS-2$		// Try to rewire imp		imp.addUnresolvableWiring(exp.getExporter());		imp.setMatchingExport(null);		if (resolveImport(imp, false))			return true;		if (imp.isDynamic())			return false;		// Rewiring of imp has failed so try to rewire clashing import		imp.clearUnresolvableWirings();		imp.setMatchingExport(exp);		ResolverImport[] imports = importer.getImportPackages();		for (int i = 0; i < imports.length; i++) {			if (imports[i].getMatchingExport() != null && imports[i].getMatchingExport().getName().equals(clash.getName())) {				imports[i].addUnresolvableWiring(imports[i].getMatchingExport().getExporter());				importer.clearWires();				if (resolveBundle(importer))					return true;				else					return false;			}		}		return false;	}