ArrayList bundleURLs = (ArrayList) bundleList.get(bundleId);
String bsn = (String) bundleInfo[0]; if (bsn == null) continue; String version = (String) bundleInfo[1]; ArrayList bundleURLs = null; if (bsn != null && version != null) { bundleURLs = (ArrayList) bundleList.get(bsn+ '_' + version); }
	private void mapURLsToBundleList() {		String[] allJars = getAllJars();		for (int i = 0; i < allJars.length; i++) {			String bundleId = extractBundleId(allJars[i]);			if (bundleId == null)				continue;			ArrayList bundleURLs = (ArrayList) bundleList.get(bundleId);			if (bundleURLs == null) {				int versionIdPosition = bundleId.lastIndexOf('_');				if (versionIdPosition == -1)					continue;				bundleURLs = (ArrayList) bundleList.get(bundleId.substring(0, versionIdPosition));				if (bundleURLs == null)					continue;			}			bundleURLs.add(allJars[i]);			allJars[i] = null; //Remove the entry from the list		}	}