BundleVersion version = new BundleVersion(versionElement.getAttribute("url"), versionElement.getAttribute("obr-url"), versionBuilder.toString(), versionElement.getAttribute("name"), new Long(versionElement.getAttribute("size")).longValue(), versionElement.getAttribute("description"), pgpKey, signedBy, rooVersion, commands);
// For security reasons we ONLY accept httppgp:// add-on versions
if (!version.getUri().startsWith("httppgp://")) {
continue;
}
bundle.addVersion(version);
}
bundleCache.put(bsn, bundle);
}
}
success = true;