Skip to content

Commit cf13992

Browse files
authored
Merge pull request github#3544 from shati-patel/code-typo
CodeQL docs: Fix error in code snippet [cherry-pick]
2 parents e0e9535 + ca8c3da commit cf13992

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/language/ql-training/java/global-data-flow-java.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ Add an additional taint step that (heuristically) taints a local variable if it
165165
.. code-block:: ql
166166
167167
class TaintedOGNLConfig extends TaintTracking::Configuration {
168-
override predicate isAdditionalTaintStep(DataFlow::Node pred,
169-
DataFlow::Node succ) {
168+
override predicate isAdditionalTaintStep(DataFlow::Node node1,
169+
DataFlow::Node node2) {
170170
exists(Field f, RefType t |
171171
node1.asExpr() = f.getAnAssignedValue() and
172172
node2.asExpr() = f.getAnAccess() and

0 commit comments

Comments
 (0)