if (versionRange == null) return bundles;
if (versionRange == null) { AbstractBundle[] result = new AbstractBundle[bundles.length]; System.arraycopy(bundles,0,result,0,result.length); return result; }
	public org.osgi.framework.Bundle[] getBundles(String symbolicName, String versionRange) {		if (symbolicName == null) {			throw new IllegalArgumentException();		}		AbstractBundle bundles[] = framework.getBundleBySymbolicName(symbolicName);		if (bundles == null)			return null;		if (versionRange == null)			return bundles;		// This code depends on the array of bundles being in descending		// version order.		ArrayList result = new ArrayList();		VersionRange range = new VersionRange(versionRange);		for (int i = 0; i < bundles.length; i++) {			if (range.isIncluded(bundles[i].getVersion())) {				result.add(bundles[i]);			}		}		if (result.size() == 0)			return null;		else			return (AbstractBundle[]) result.toArray(new AbstractBundle[result.size()]);	}