Skip to content

Commit 13bde5c

Browse files
committed
Make Checkstyle happy
1 parent 0901815 commit 13bde5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spoon-control-flow/src/main/java/fr/inria/controlflow/ControlFlowBuilder.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ public <S> void visitCtSwitch(CtSwitch<S> switchStatement) {
783783
registerStatementLabel(caseStatement);
784784
var caseExpressions = caseStatement.getCaseExpressions();
785785
ArrayList<ControlFlowNode> caseExpressionNodes = new ArrayList<>();
786-
for (CtExpression<?> expression: caseExpressions) {
786+
for (CtExpression<?> expression : caseExpressions) {
787787
ControlFlowNode caseNode = new ControlFlowNode(expression, result, BranchKind.STATEMENT);
788788
caseExpressionNodes.add(caseNode);
789789
tryAddEdge(switchNode, caseNode);
@@ -797,7 +797,7 @@ public <S> void visitCtSwitch(CtSwitch<S> switchStatement) {
797797
}
798798

799799
ControlFlowNode fallThroughEnd = null;
800-
if(lastNode != switchNode) {
800+
if (lastNode != switchNode) {
801801
fallThroughEnd = lastNode;
802802
}
803803
lastNode = null;

0 commit comments

Comments
 (0)