mirror of
https://github.com/github/codeql.git
synced 2026-05-04 13:15:21 +02:00
Java: enable local call characteristic also for source candidates
This commit is contained in:
@@ -36,7 +36,7 @@ class Test {
|
||||
}
|
||||
|
||||
public static InputStream getInputStream(String openPath) throws Exception {
|
||||
return Test.getInputStream( // the call is a source candidate
|
||||
return Test.getInputStream( // the call is not a source candidate (argument to local call)
|
||||
Paths.get(openPath) // no sink candidate (argument to local call); the call is a source candidate
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user