Skip to content

Commit

Permalink
Fix implicit 'this' use in TempFileLib
Browse files Browse the repository at this point in the history
  • Loading branch information
JLLeitschuh committed Apr 28, 2022
1 parent 95cedd5 commit e0ef00b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java/ql/lib/semmle/code/java/security/TempFileLib.qll
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ class MethodFileCreateTempFile extends Method {
*/
class MethodFileCreatesDirs extends Method {
MethodFileCreatesDirs() {
getDeclaringType() instanceof TypeFile and
hasName(["mkdir", "mkdirs"])
this.getDeclaringType() instanceof TypeFile and
this.hasName(["mkdir", "mkdirs"])
}
}

Expand Down

0 comments on commit e0ef00b

Please sign in to comment.