mirror of
https://github.com/github/codeql.git
synced 2026-03-03 14:29:49 +01:00
Apply suggestions from code review
Co-authored-by: Tony Torralba <atorralba@users.noreply.github.com>
This commit is contained in:
@@ -14,8 +14,7 @@ import semmle.code.java.dataflow.FlowSteps
|
||||
*/
|
||||
private class GsonReadValueMethod extends Method {
|
||||
GsonReadValueMethod() {
|
||||
this.getDeclaringType().hasQualifiedName("com.google.gson", "Gson") and
|
||||
this.getName().matches("fromJson")
|
||||
this.hasQualifiedName("com.google.gson", "Gson", "fromJson")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user