mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
Exclude .kt files from serializable inner class query
This commit is contained in:
@@ -77,7 +77,7 @@ predicate exceptions(NestedClass inner) {
|
||||
|
||||
from NestedClass inner, Class outer, string advice
|
||||
where
|
||||
inner.fromSource() and
|
||||
inner.getFile().isJavaSourceFile() and
|
||||
isSerializable(inner) and
|
||||
outer = enclosingInstanceType+(inner) and
|
||||
not isSerializable(outer) and
|
||||
|
||||
Reference in New Issue
Block a user