mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-05-22 06:47:20 +02:00
addded synchronization - as this analyzer should only run synchronized
This commit is contained in:
+1
-1
@@ -130,7 +130,7 @@ public class DependencyBundlingAnalyzer extends AbstractAnalyzer {
|
|||||||
* file.
|
* file.
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void analyze(Dependency ignore, Engine engine) throws AnalysisException {
|
public synchronized void analyze(Dependency ignore, Engine engine) throws AnalysisException {
|
||||||
if (!analyzed) {
|
if (!analyzed) {
|
||||||
analyzed = true;
|
analyzed = true;
|
||||||
final Set<Dependency> dependenciesToRemove = new HashSet<Dependency>();
|
final Set<Dependency> dependenciesToRemove = new HashSet<Dependency>();
|
||||||
|
|||||||
Reference in New Issue
Block a user