mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 17:26:22 +01:00
fix sonar build
This commit is contained in:
@@ -614,17 +614,6 @@ public class DefaultPluginManager implements PluginManager
|
|||||||
center.setPlugins(pluginInformationSet);
|
center.setPlugins(pluginInformationSet);
|
||||||
preparePlugins(center);
|
preparePlugins(center);
|
||||||
cache.put(PluginCenter.class.getName(), 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)
|
catch (IOException ex)
|
||||||
{
|
{
|
||||||
@@ -632,6 +621,9 @@ public class DefaultPluginManager implements PluginManager
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(center == null) {
|
||||||
|
center = new PluginCenter();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return center;
|
return center;
|
||||||
|
|||||||
Reference in New Issue
Block a user