Skip to content

Commit dc6a132

Browse files
committed
Shared: update comment in AccessPathSyntax.qll
1 parent 2907d53 commit dc6a132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/lib/semmle/code/java/dataflow/internal/AccessPathSyntax.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module AccessPath {
1919
private string getRawToken(AccessPath path, int n) {
2020
// Avoid splitting by '.' since tokens may contain dots, e.g. `Field[foo.Bar.x]`.
2121
// Instead use regexpFind to match valid tokens, and supplement with a final length
22-
// check to ensure all characters were included in a token.
22+
// check (in `AccessPath.hasSyntaxError`) to ensure all characters were included in a token.
2323
result = path.regexpFind("\\w+(?:\\[[^\\]]*\\])?(?=\\.|$)", n, _)
2424
}
2525

0 commit comments

Comments
 (0)