add explicit this

This commit is contained in:
erik-krogh
2022-08-16 22:56:41 +02:00
parent b9823cf335
commit 2e44fba67d
13 changed files with 45 additions and 39 deletions

View File

@@ -53,7 +53,7 @@ private class FileSetRedableMethodAccess extends MethodAccess {
private predicate isCallToSecondArgumentWithValue(boolean value) {
this.getMethod().getNumberOfParameters() = 1 and value = true
or
isCallWithArgument(1, value)
this.isCallWithArgument(1, value)
}
private predicate isCallWithArgument(int index, boolean arg) {