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