mirror of
https://github.com/github/codeql.git
synced 2025-12-22 19:56:32 +01:00
Java: Fix GsonDeserializableField
This commit is contained in:
@@ -50,8 +50,7 @@ private class GsonDeserializableField extends DeserializableField {
|
||||
exists(GsonDeserializableType superType |
|
||||
superType = this.getDeclaringType().getAnAncestor() and
|
||||
not superType instanceof TypeObject and
|
||||
//superType.fromSource()
|
||||
not superType.(RefType).getPackage().getName().matches("java%")
|
||||
superType.fromSource()
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user