Avoid deprecations in examples
This commit is contained in:
Родитель
868aeee8a9
Коммит
c2be7fe71f
|
@ -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."
|
||||
|
|
|
@ -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."
|
||||
|
|
Загрузка…
Ссылка в новой задаче