mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Fix typo
This commit is contained in:
@@ -404,16 +404,16 @@ private string stubAnnotation(Annotation a) {
|
||||
else result = a.toString()
|
||||
}
|
||||
|
||||
private string stubAnnotiationSimpleValue(Expr value) {
|
||||
private string stubAnnotationSimpleValue(Expr value) {
|
||||
result = value.(FieldAccess).getField().getQualifiedName() or
|
||||
result = value.(Literal).toString()
|
||||
}
|
||||
|
||||
private string stubAnnotationValue(Expr value) {
|
||||
result = stubAnnotiationSimpleValue(value)
|
||||
result = stubAnnotationSimpleValue(value)
|
||||
or
|
||||
value instanceof ArrayInit and
|
||||
result = "{" + concat(stubAnnotiationSimpleValue(value.(ArrayInit).getAnInit()), ",") + "}"
|
||||
result = "{" + concat(stubAnnotationSimpleValue(value.(ArrayInit).getAnInit()), ",") + "}"
|
||||
}
|
||||
|
||||
bindingset[s]
|
||||
|
||||
Reference in New Issue
Block a user