mirror of
https://github.com/github/codeql.git
synced 2026-01-10 13:10:26 +01:00
Java: Fix training example
This commit is contained in:
@@ -3,10 +3,10 @@ import java
|
||||
class EmptyBlock extends Block {
|
||||
EmptyBlock() {
|
||||
this.getNumStmt() = 0
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
from IfStmt ifstmt
|
||||
where ifstmt.getThen() instanceof
|
||||
EmptyBlock
|
||||
select ifstmt
|
||||
select ifstmt
|
||||
|
||||
Reference in New Issue
Block a user