Fix errors in hasAsyncMethods() which cause it to return an incorrect result.
Previously the method could only ever return false.
@@ -113,6 +113,7 @@ public class AsyncMethodFinder {
continue;
}
if (hasMonitor(method)) {
+ result = true;
break loop;
}
}
