{
MergeConfiguration mergeConfiguration = new MergeConfiguration();</BUG>
try {
this.packager.importXAR(previousExtension != null ? new XarFile(new File(previousExtension.getFile()
.getAbsolutePath()), previousExtension.getPages()) : null, new File(localExtension.getFile()
<BUG>.getAbsolutePath()), wiki, mergeConfiguration);
} catch (Exception e) {</BUG>
throw new InstallException("Failed to import xar for extension [" + localExtension + "]", e);
}
}

{
try {
this.packager.importXAR(previousExtension != null ? new XarFile(new File(previousExtension.getFile()
.getAbsolutePath()), previousExtension.getPages()) : null, new File(localExtension.getFile()
.getAbsolutePath()), createPackageConfiguration(request, wiki));
} catch (Exception e) {
throw new InstallException("Failed to import xar for extension [" + localExtension + "]", e);
}
}
