String bundleSymbolicName = attributes.getValue(
Constants.BUNDLE_SYMBOLICNAME);
if (Validator.isNull(bundleSymbolicName)) {
continue;
}
<BUG>String bundleVersionString = attributes.getValue(
Constants.BUNDLE_VERSION);</BUG>
for (String curBundleSymbolicName : bundleSymbolicNames) {
if (!bundleSymbolicName.startsWith(curBundleSymbolicName)) {
continue;

String bundleSymbolicName = attributes.getValue(
Constants.BUNDLE_SYMBOLICNAME);
if (Validator.isNull(bundleSymbolicName)) {
continue;
}
for (String curBundleSymbolicName : bundleSymbolicNames) {
if (!bundleSymbolicName.startsWith(curBundleSymbolicName)) {
continue;
