mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-28 11:52:15 +01:00
fixed bug where the analyzers were not being closed
Former-commit-id: 3ab4fa8484a65a2e3615549f4f778e63a3d36f4e
This commit is contained in:
@@ -311,7 +311,7 @@ public class Engine {
|
|||||||
for (Dependency d : dependencySet) {
|
for (Dependency d : dependencySet) {
|
||||||
boolean shouldAnalyze = true;
|
boolean shouldAnalyze = true;
|
||||||
if (a instanceof FileTypeAnalyzer) {
|
if (a instanceof FileTypeAnalyzer) {
|
||||||
FileTypeAnalyzer fAnalyzer = (FileTypeAnalyzer) a;
|
final FileTypeAnalyzer fAnalyzer = (FileTypeAnalyzer) a;
|
||||||
shouldAnalyze = fAnalyzer.supportsExtension(d.getFileExtension());
|
shouldAnalyze = fAnalyzer.supportsExtension(d.getFileExtension());
|
||||||
}
|
}
|
||||||
if (shouldAnalyze) {
|
if (shouldAnalyze) {
|
||||||
@@ -331,7 +331,7 @@ public class Engine {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
initializeAnalyzer(a);
|
closeAnalyzer(a);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user