this.id = id;
this.type = type;
}
public AbstractExtension(ExtensionRepository repository, Extension extension)
{
<BUG>this(repository, extension.getId(), extension.getType());
setDescription(extension.getDescription());</BUG>
setAuthors(extension.getAuthors());
setWebsite(extension.getWebSite());
List< ? extends ExtensionDependency> newDependencies = extension.getDependencies();

this.id = id;
this.type = type;
}
public AbstractExtension(ExtensionRepository repository, Extension extension)
{
this(repository, extension.getId(), extension.getType());
setFeatures(extension.getFeatures());
setDescription(extension.getDescription());
setAuthors(extension.getAuthors());
setWebsite(extension.getWebSite());
List< ? extends ExtensionDependency> newDependencies = extension.getDependencies();
