mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-07 22:15:45 +01:00
refactor plugin backend + fix tests
This commit is contained in:
@@ -648,7 +648,6 @@ public class DefaultPluginManager implements PluginManager
|
||||
pluginInformation.setCategory(plugin.getCategory());
|
||||
pluginInformation.setVersion(plugin.getVersion());
|
||||
pluginInformation.setDescription(plugin.getDescription());
|
||||
pluginInformation.setUrl(plugin.getLinks().getDownload());
|
||||
|
||||
if (plugin.getConditions() != null) {
|
||||
PluginCenterDto.Condition condition = plugin.getConditions();
|
||||
|
||||
@@ -318,10 +318,7 @@ public final class PluginProcessor
|
||||
{
|
||||
for (Path parent : parentStream)
|
||||
{
|
||||
try (DirectoryStream<Path> direcotries = stream(parent, filter))
|
||||
{
|
||||
paths.addAll(direcotries);
|
||||
}
|
||||
paths.add(parent);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -333,7 +330,6 @@ public final class PluginProcessor
|
||||
*
|
||||
*
|
||||
* @param parentClassLoader
|
||||
* @param directory
|
||||
* @param smp
|
||||
*
|
||||
* @return
|
||||
@@ -472,7 +468,6 @@ public final class PluginProcessor
|
||||
*
|
||||
*
|
||||
* @param classLoader
|
||||
* @param directory
|
||||
* @param smp
|
||||
*
|
||||
* @return
|
||||
@@ -511,7 +506,6 @@ public final class PluginProcessor
|
||||
*
|
||||
*
|
||||
* @param classLoader
|
||||
* @param smps
|
||||
* @param rootNodes
|
||||
*
|
||||
* @return
|
||||
|
||||
Reference in New Issue
Block a user