mirror of
https://github.com/hohn/codeql-lab.git
synced 2025-12-16 09:53:04 +01:00
Avoid deprecations in examples
This commit is contained in:
@@ -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."
|
||||||
|
|||||||
@@ -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."
|
||||||
|
|||||||
Reference in New Issue
Block a user