From 142eb41312980803e2a33e76cf8d8f69911b5b5b Mon Sep 17 00:00:00 2001 From: Stefan Neuhaus Date: Mon, 2 Oct 2017 17:05:55 +0200 Subject: [PATCH] Cleanup: remove useless overwrite As the default is "true" again, we do not need to overwrite it here. And even if we changed the default back to "false", then there would probably be a good reason why we would not want to overwrite it to "true" for this specific analyzer. --- .../dependencycheck/analyzer/ArchiveAnalyzer.java | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/dependency-check-core/src/main/java/org/owasp/dependencycheck/analyzer/ArchiveAnalyzer.java b/dependency-check-core/src/main/java/org/owasp/dependencycheck/analyzer/ArchiveAnalyzer.java index d542171e6..c1e15538c 100644 --- a/dependency-check-core/src/main/java/org/owasp/dependencycheck/analyzer/ArchiveAnalyzer.java +++ b/dependency-check-core/src/main/java/org/owasp/dependencycheck/analyzer/ArchiveAnalyzer.java @@ -217,20 +217,6 @@ public class ArchiveAnalyzer extends AbstractFileTypeAnalyzer { } } - /** - * Does not support parallel processing as it both modifies and iterates - * over the engine's list of dependencies. - * - * @return true if the analyzer supports parallel processing; - * otherwise false - * @see #analyzeDependency(Dependency, Engine) - * @see #findMoreDependencies(Engine, File) - */ - @Override - public boolean supportsParallelProcessing() { - return true; - } - /** * Analyzes a given dependency. If the dependency is an archive, such as a * WAR or EAR, the contents are extracted, scanned, and added to the list of