refactor plugin backend + fix tests

This commit is contained in:
Eduard Heimbuch
2019-07-29 11:52:53 +02:00
parent 27dc47a590
commit 785e5e1142
13 changed files with 54 additions and 165 deletions

View File

@@ -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();

View File

@@ -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