Skip to content

Commit f9d7f8b

Browse files
committed
JS: fix links in qhelp
1 parent f574549 commit f9d7f8b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

javascript/ql/src/Statements/MissingIndexAdjustmentAfterConcurrentModification.qhelp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Determine what the loop is supposed to do:
3838
In this example, a function is intended to remove "<code>..</code>" parts from a path:
3939
</p>
4040

41-
<sample src="examples/MisleadingIndentationAfterControlStmt.js" />
41+
<sample src="examples/MissingIndexAdjustmentAfterConcurrentModification.js" />
4242

4343
<p>
4444
However, whenever the input contain two "<code>..</code>" parts right after one another, only the first will be removed.
@@ -51,13 +51,13 @@ index 0 and will therefore be skipped.
5151
One way to avoid this is to decrement the loop counter after removing an element from the array:
5252
</p>
5353

54-
<sample src="examples/MisleadingIndentationAfterControlStmtGood.js" />
54+
<sample src="examples/MissingIndexAdjustmentAfterConcurrentModificationGood.js" />
5555

5656
<p>
5757
Alternatively, use the <code>filter</code> method:
5858
</p>
5959

60-
<sample src="examples/MisleadingIndentationAfterControlStmtGoodFilter.js" />
60+
<sample src="examples/MissingIndexAdjustmentAfterConcurrentModificationGoodFilter.js" />
6161

6262
</example>
6363
<references>

0 commit comments

Comments
 (0)