Java control flow: Added comments in searching for definite assignment in the presense of finally block (IDEA-64488)

This commit is contained in:
Pavel Dolgov
2016-08-05 19:49:49 +03:00
parent c13bad9b66
commit ec9fcf60b6
@@ -1667,8 +1667,8 @@ public class ControlFlowUtil {
}
MyVisitor visitor = new MyVisitor();
depthFirstSearch(flow, visitor, 0, flow.getSize());
return visitor.getResult().booleanValue();
depthFirstSearch(flow, visitor, 0, flow.getSize()); // traverse the graph, store the graph edges in visitor.graph
return visitor.getResult().booleanValue(); // traverse the visitor.graph starting with the startOffset
}
public static boolean isVariableAssignedInLoop(@NotNull PsiReferenceExpression expression, PsiElement resolved) {