We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d22dcf commit bfdb19aCopy full SHA for bfdb19a
swan-pipeline/src/main/java/de/fraunhofer/iem/swan/io/dataset/DatasetProcessor.java
@@ -43,7 +43,7 @@ public Dataset run() {
43
44
for (Method method : new HashSet<>(dataset.getTrainMethods())) {
45
46
- if (!options.getDiscovery().contains(method.getDiscovery()) ||
+ if ((!options.getDiscovery().contains(method.getDiscovery()) && options.getDiscovery().size() > 0) ||
47
((method.getJavadoc().getMethodComment().length() == 0
48
|| StringUtils.split(method.getJavadoc().getMethodComment(), " ").size() <= 1) && options.isDocumented())) {
49
dataset.getTrainMethods().remove(method);
0 commit comments