coverity suggested changes

This commit is contained in:
Jeremy Long
2017-06-24 15:58:33 -04:00
parent c555f60f47
commit 5bc1c3f616
2 changed files with 4 additions and 4 deletions

View File

@@ -1014,7 +1014,7 @@ public class Check extends Update {
*
* @throws BuildException if the task was not configured correctly.
*/
private void validateConfiguration() throws BuildException {
private synchronized void validateConfiguration() throws BuildException {
if (path == null) {
throw new BuildException("No project dependencies have been defined to analyze.");
}