return name;
}
void addBundleSymbolicNameToIndex(Resource resource) {
String bsn = resource.getSymbolicName();
Version version;
String versionStr = resource.getVersion();
try {
version = new Version(versionStr);
} catch (Exception e) {
version = new Version("0.0.0");
}
SortedMap<Version, Resource> versionMap = bsnMap.get(bsn);
if (versionMap == null) {
versionMap = new TreeMap<Version, Resource>();
bsnMap.put(bsn, versionMap);