mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-06 05:25:44 +01:00
fix sonar build
This commit is contained in:
@@ -614,17 +614,6 @@ public class DefaultPluginManager implements PluginManager
|
||||
center.setPlugins(pluginInformationSet);
|
||||
preparePlugins(center);
|
||||
cache.put(PluginCenter.class.getName(), center);
|
||||
|
||||
/*
|
||||
* if (pluginHandler == null)
|
||||
* {
|
||||
* pluginHandler = new AetherPluginHandler(this,
|
||||
* SCMContext.getContext(), configuration,
|
||||
* advancedPluginConfiguration);
|
||||
* }
|
||||
*
|
||||
* pluginHandler.setPluginRepositories(center.getRepositories());
|
||||
*/
|
||||
}
|
||||
catch (IOException ex)
|
||||
{
|
||||
@@ -632,6 +621,9 @@ public class DefaultPluginManager implements PluginManager
|
||||
}
|
||||
}
|
||||
}
|
||||
if(center == null) {
|
||||
center = new PluginCenter();
|
||||
}
|
||||
}
|
||||
|
||||
return center;
|
||||
|
||||
Reference in New Issue
Block a user