Avoid deprecations in examples

This commit is contained in:
Andrew Eisenberg
2020-10-31 10:46:27 -07:00
parent d52771c7dc
commit dcc4fb5388
2 changed files with 6 additions and 6 deletions

View File

@@ -6,7 +6,7 @@
*/ */
import java import java
from Block b from BlockStmt b
where b.getNumStmt() = 0 where b.getNumStmt() = 0
select b, "This is an empty block." select b, "This is an empty block."

View File

@@ -6,7 +6,7 @@
*/ */
import javascript import javascript
from Block b from BlockStmt b
where b.getNumStmt() = 0 where b.getNumStmt() = 0
select b, "This is an empty block." select b, "This is an empty block."