mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
Java: fix QL-for-QL alert
This commit is contained in:
@@ -254,7 +254,7 @@ private class NotAModelApiParameter extends CharacteristicsImpl::UninterestingTo
|
||||
NotAModelApiParameter() { this = "not a model API parameter" }
|
||||
|
||||
override predicate appliesToEndpoint(Endpoint e) {
|
||||
not exists(ModelExclusions::ModelApi api | api = e.getEnclosingCallable())
|
||||
not e.getEnclosingCallable() instanceof ModelExclusions::ModelApi
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user