Merge pull request #616 from mookkiah/issue_587_async-method-invocation

#587 SonarQube reports bugs - async-method-invocation
This commit is contained in:
Ilkka Seppälä authored and GitHub committed 2017-08-18 22:24:43 +03:00
commit f47dc1eb7c
1 file changed
+1 -1
@@ -139,7 +139,7 @@ public class ThreadAsyncExecutor implements AsyncExecutor {
@Override
public void await() throws InterruptedException {
synchronized (lock) {
if (!isCompleted()) {
while (!isCompleted()) {
lock.wait();
}
}