Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0e3f6f7

Browse files
committed
autoformat
1 parent 9035ba1 commit 0e3f6f7

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1674,14 +1674,10 @@ class LocalVariableDeclExpr extends Expr, @localvariabledeclexpr {
16741674
/**
16751675
* Gets the instanceof expression whose pattern declares this identifier, if any.
16761676
*/
1677-
InstanceOfExpr getAssociatedInstanceOfExpr() {
1678-
result.getPattern().getAChildExpr*() = this
1679-
}
1677+
InstanceOfExpr getAssociatedInstanceOfExpr() { result.getPattern().getAChildExpr*() = this }
16801678

16811679
/** Holds f this is a declaration stemming from a pattern instanceof expression. */
1682-
predicate hasAssociatedInstanceOfExpr() {
1683-
exists(this.getAssociatedInstanceOfExpr())
1684-
}
1680+
predicate hasAssociatedInstanceOfExpr() { exists(this.getAssociatedInstanceOfExpr()) }
16851681

16861682
/** Gets the initializer expression of this local variable declaration expression, if any. */
16871683
Expr getInit() { result.isNthChildOf(this, 0) }

0 commit comments

Comments
 (0)