mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
Java control flow: Added comments in searching for definite assignment in the presense of finally block (IDEA-64488)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user