Skip to content

Commit

Permalink
Make Checkstyle happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Pine committed Apr 5, 2024
1 parent 0901815 commit 13bde5c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ public <S> void visitCtSwitch(CtSwitch<S> switchStatement) {
registerStatementLabel(caseStatement);
var caseExpressions = caseStatement.getCaseExpressions();
ArrayList<ControlFlowNode> caseExpressionNodes = new ArrayList<>();
for (CtExpression<?> expression: caseExpressions) {
for (CtExpression<?> expression : caseExpressions) {
ControlFlowNode caseNode = new ControlFlowNode(expression, result, BranchKind.STATEMENT);
caseExpressionNodes.add(caseNode);
tryAddEdge(switchNode, caseNode);
Expand All @@ -797,7 +797,7 @@ public <S> void visitCtSwitch(CtSwitch<S> switchStatement) {
}

ControlFlowNode fallThroughEnd = null;
if(lastNode != switchNode) {
if (lastNode != switchNode) {
fallThroughEnd = lastNode;
}
lastNode = null;
Expand Down

0 comments on commit 13bde5c

Please sign in to comment.