added JavaDoc to resetFileTypeAnalzyers()

Former-commit-id: 7feb30ff1750684d60d69a01c76733df0d32b62c
This commit is contained in:
Jeremy Long
2014-12-27 06:57:21 -05:00
parent 3bf4cf8c85
commit 4deeb33f08

View File

@@ -195,6 +195,11 @@ public class Engine extends org.owasp.dependencycheck.Engine {
return p;
}
/**
* Resets the file type analyzers so that they can be re-used to scan additional directories. Without the reset the
* analyzer might be disabled because the first scan/analyze did not identify any files that could be processed by
* the analyzer.
*/
public void resetFileTypeAnalyzers() {
for (FileTypeAnalyzer a : getFileTypeAnalyzers()) {
a.reset();