List<String> extensions = getTrustedExtensions();
for (String extension : extensions) {
ExtensionType extensionType = AbstractExtension.isExtensionTrusted(extension)
? ExtensionType.TRUSTED : ExtensionType.CUSTOM;
String description = getShortDescription(extension);
<BUG>String recipeName = extension;</BUG>
String location = storePath.toString() + '/' + extension;
String extensionOwner = System.getProperty("user.name");
<BUG>metaStore.storeExtensionBean(recipeName, location, extensionType, description, extensionOwner);
</BUG>
}

List<String> extensions = getTrustedExtensions();
for (String extension : extensions) {
ExtensionType extensionType = AbstractExtension.isExtensionTrusted(extension)
? ExtensionType.TRUSTED : ExtensionType.CUSTOM;
String description = getShortDescription(extension);
String location = storePath.toString() + '/' + extension;
String extensionOwner = System.getProperty("user.name");
metaStore.storeExtensionBean(extension, location, extensionType, description, extensionOwner);
}
