mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-19 05:52:11 +01:00
Reduce visibility of misleading install function
This install function might be mistaken to really install this plugin, whereas it only sets its internal status and does not really do smth.
This commit is contained in:
@@ -25,7 +25,7 @@ public class AvailablePlugin implements Plugin {
|
||||
return pending;
|
||||
}
|
||||
|
||||
public AvailablePlugin install() {
|
||||
AvailablePlugin install() {
|
||||
Preconditions.checkState(!pending, "installation is already pending");
|
||||
return new AvailablePlugin(pluginDescriptor, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user