mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
Java: automodel: use the call for call context, rather than the argument
This commit is contained in:
@@ -185,7 +185,7 @@ module ApplicationCandidatesImpl implements SharedCharacteristics::CandidateSig
|
||||
*/
|
||||
RelatedLocation getRelatedLocation(Endpoint e, RelatedLocationType type) {
|
||||
type = CallContext() and
|
||||
result = e.asTop()
|
||||
result = e.getCall()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user