Make AvailablePlugin immutable

This commit is contained in:
Rene Pfeuffer
2019-10-02 10:05:07 +02:00
parent 0b68fa1d0c
commit 458d2fb4ee
2 changed files with 1 additions and 6 deletions

View File

@@ -28,7 +28,6 @@ class PendingPluginInstallation {
LOG.info("cancel installation of plugin {}", name);
try {
Files.delete(file);
plugin.cancelInstallation();
} catch (IOException ex) {
throw new PluginFailedToCancelInstallationException("failed to cancel plugin installation ", name, ex);
}