Skip to content

Commit 53ca8e5

Browse files
committed
autoformat
1 parent 633b92d commit 53ca8e5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

java/ql/lib/semmle/code/java/ControlFlowGraph.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,9 @@ private module ControlFlowGraphImpl {
440440
// Join order engineering -- first determine the switch block and the case indices required, then retrieve them.
441441
bindingset[switch, i]
442442
pragma[inline_late]
443-
private predicate isNthCaseOf(SwitchBlock switch, SwitchCase c, int i) { c.isNthCaseOf(switch, i) }
443+
private predicate isNthCaseOf(SwitchBlock switch, SwitchCase c, int i) {
444+
c.isNthCaseOf(switch, i)
445+
}
444446

445447
/**
446448
* Gets a `SwitchCase` that may be `pred`'s direct successor, where `pred` is declared in block `switch`.

java/ql/lib/semmle/code/java/controlflow/internal/SwitchCases.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ private PatternCase getPatternCase(SwitchBlock switch, int i) {
1313
/**
1414
* Gets the first `PatternCase` defined on `switch`, if one exists.
1515
*/
16-
PatternCase getFirstPatternCase(SwitchBlock switch) {
17-
result = getPatternCase(switch, 0)
18-
}
16+
PatternCase getFirstPatternCase(SwitchBlock switch) { result = getPatternCase(switch, 0) }
1917

2018
/**
2119
* Gets the PatternCase after pc, if one exists.

0 commit comments

Comments
 (0)