We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70f4efb commit 23548c5Copy full SHA for 23548c5
java/ql/lib/semmle/code/java/security/FileWritable.qll
@@ -62,7 +62,7 @@ private EnumConstant getAContainedEnumConstant(Expr enumSetRef) {
62
private VarAccess getFileForPathConversion(Expr pathExpr) {
63
pathExpr.getType().(RefType).hasQualifiedName("java.nio.file", "Path") and
64
(
65
- // Look for conversion from `File` to `Path` using `file.getPath()`.
+ // Look for conversion from `File` to `Path` using `file.toPath()`.
66
exists(MethodAccess fileToPath |
67
fileToPath = pathExpr and
68
result = fileToPath.getQualifier() and
0 commit comments