Skip to content

Commit deb78b2

Browse files
max-schaefertausbn
andauthored
Apply suggestions from code review
Co-authored-by: Taus <[email protected]>
1 parent 32ebd4e commit deb78b2

File tree

1 file changed

+2
-2
lines changed
  • java/ql/automodel/test/AutomodelApplicationModeExtraction

1 file changed

+2
-2
lines changed

java/ql/automodel/test/AutomodelApplicationModeExtraction/Test.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ public static void FilesListExample(Path p) throws Exception {
103103

104104
Files.delete(
105105
p // $ sinkModelCandidate=delete(Path):Argument[0] positiveSinkExample=delete(Path):Argument[0](path-injection)
106-
); // $ not a source candidate (return type is void)
106+
); // not a source candidate (return type is void)
107107

108108
Files.deleteIfExists(
109109
p // $ sinkModelCandidate=deleteIfExists(Path):Argument[0] positiveSinkExample=deleteIfExists(Path):Argument[0](path-injection)
110-
); // $ not a source candidate (return type is boolean)
110+
); // not a source candidate (return type is boolean)
111111
}
112112
}

0 commit comments

Comments
 (0)