addded synchronization - as this analyzer should only run synchronized

This commit is contained in:
Jeremy Long
2016-12-22 06:53:35 -05:00
parent 1dbc183567
commit c33257d266

View File

@@ -130,7 +130,7 @@ public class DependencyBundlingAnalyzer extends AbstractAnalyzer {
* file.
*/
@Override
public void analyze(Dependency ignore, Engine engine) throws AnalysisException {
public synchronized void analyze(Dependency ignore, Engine engine) throws AnalysisException {
if (!analyzed) {
analyzed = true;
final Set<Dependency> dependenciesToRemove = new HashSet<Dependency>();