fixed synchronization per coverity

This commit is contained in:
Jeremy Long
2017-02-17 18:00:40 -05:00
parent 17590a6d38
commit 0d72471502
2 changed files with 2 additions and 2 deletions

View File

@@ -72,7 +72,7 @@ public class DependencyBundlingAnalyzer extends AbstractAnalyzer {
* @return a flag indicating if this analyzer has run. This analyzer only * @return a flag indicating if this analyzer has run. This analyzer only
* runs once * runs once
*/ */
protected boolean getAnalyzed() { protected synchronized boolean getAnalyzed() {
return analyzed; return analyzed;
} }

View File

@@ -55,7 +55,7 @@ public class DependencyMergingAnalyzer extends AbstractAnalyzer {
* @return a flag indicating if this analyzer has run. This analyzer only * @return a flag indicating if this analyzer has run. This analyzer only
* runs once * runs once
*/ */
protected boolean getAnalyzed() { protected synchronized boolean getAnalyzed() {
return analyzed; return analyzed;
} }