mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
Update java/ql/lib/semmle/code/java/Expr.qll
This commit is contained in:
committed by
GitHub
parent
fe5115169f
commit
301a907596
@@ -731,7 +731,7 @@ class CharacterLiteral extends Literal, @characterliteral {
|
||||
* this literal. The result is the same as if the Java code had cast
|
||||
* the character to an `int`.
|
||||
*/
|
||||
int getCodePointValue() { result = any(int i | i.toUnicode() = getValue()) }
|
||||
int getCodePointValue() { result.toUnicode() = this.getValue() }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user