Skip to content

Commit 95f8ba4

Browse files
authored
Java: Fix training example
1 parent 3520f2c commit 95f8ba4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/language/ql-training/query-examples/java/empty-if-java-class.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import java
33
class EmptyBlock extends Block {
44
EmptyBlock() {
55
this.getNumStmt() = 0
6-
6+
}
77
}
88

99
from IfStmt ifstmt
1010
where ifstmt.getThen() instanceof
1111
EmptyBlock
12-
select ifstmt
12+
select ifstmt

0 commit comments

Comments
 (0)