Skip to content

Commit 00c7dd5

Browse files
committed
Fix a stray use of getPattern
1 parent e59487a commit 00c7dd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1708,7 +1708,7 @@ class LocalVariableDeclExpr extends Expr, @localvariabledeclexpr {
17081708
or
17091709
pc = result.(SwitchExpr).getAPatternCase()
17101710
|
1711-
this = pc.getPattern().getAChildExpr*()
1711+
this = pc.getAPattern().getAChildExpr*()
17121712
)
17131713
}
17141714

0 commit comments

Comments
 (0)