mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Merge pull request #10170 from michaelnebel/java/models-io
Java: Update models for commons-io and add negative models.
This commit is contained in:
@@ -55,7 +55,8 @@ private predicate isJdkInternal(J::CompilationUnit cu) {
|
||||
private predicate isRelevantForModels(J::Callable api) {
|
||||
not isInTestFile(api.getCompilationUnit().getFile()) and
|
||||
not isJdkInternal(api.getCompilationUnit()) and
|
||||
not api instanceof J::MainMethod
|
||||
not api instanceof J::MainMethod and
|
||||
not api instanceof J::StaticInitializer
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user