Merge pull request #46 from github/aeisenberg/avoid-deprecations

Avoid deprecations in examples
This commit is contained in:
Aditya Sharad
2020-11-02 11:55:04 -08:00
committed by GitHub
2 changed files with 6 additions and 6 deletions

View File

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