Apply suggestions from code review

Co-authored-by: Taus <tausbn@github.com>
This commit is contained in:
Max Schaefer
2024-04-09 14:38:17 +01:00
committed by GitHub
parent 32ebd4eebb
commit deb78b248b

View File

@@ -103,10 +103,10 @@ class MoreTests {
Files.delete(
p // $ sinkModelCandidate=delete(Path):Argument[0] positiveSinkExample=delete(Path):Argument[0](path-injection)
); // $ not a source candidate (return type is void)
); // not a source candidate (return type is void)
Files.deleteIfExists(
p // $ sinkModelCandidate=deleteIfExists(Path):Argument[0] positiveSinkExample=deleteIfExists(Path):Argument[0](path-injection)
); // $ not a source candidate (return type is boolean)
); // not a source candidate (return type is boolean)
}
}