Skip to content

Commit b1cea1d

Browse files
committed
autoformat
1 parent 561f06a commit b1cea1d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1673,7 +1673,9 @@ class LocalVariableDeclExpr extends Expr, @localvariabledeclexpr {
16731673
or
16741674
exists(PatternCase pc | this.getParent() = pc | result.isNthChildOf(pc, -2))
16751675
or
1676-
exists(RecordPatternExpr rpe, int index | this.isNthChildOf(rpe, index) and result.isNthChildOf(rpe, -(index + 1)) )
1676+
exists(RecordPatternExpr rpe, int index |
1677+
this.isNthChildOf(rpe, index) and result.isNthChildOf(rpe, -(index + 1))
1678+
)
16771679
}
16781680

16791681
/** Gets the name of the variable declared by this local variable declaration expression. */

java/ql/lib/semmle/code/java/controlflow/Guards.qll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,7 @@ class Guard extends ExprParent {
231231
branch = true and
232232
bb2.getFirstNode() = sc.getControlFlowNode() and
233233
pred = sc.getControlFlowNode().getAPredecessor() and
234-
isNonFallThroughPredecessor(sc, pred)
235-
and
234+
isNonFallThroughPredecessor(sc, pred) and
236235
bb1 = pred.getBasicBlock()
237236
)
238237
or

0 commit comments

Comments
 (0)