mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
Merge pull request #1688 from aschackmull/java-cookbook/int-literal-value
Java Cookbook: Slight improvement to the IntegerLiteral pattern.
This commit is contained in:
@@ -9,5 +9,5 @@
|
||||
import java
|
||||
|
||||
from IntegerLiteral literal
|
||||
where literal.getLiteral().toInt() = 0
|
||||
where literal.getIntValue() = 0
|
||||
select literal
|
||||
|
||||
Reference in New Issue
Block a user