Skip to content

Commit 83e7bf7

Browse files
committed
Java: Adjust qldoc.
1 parent b8a1818 commit 83e7bf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/ql/lib/semmle/code/java/dataflow/TypeFlow.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ private predicate unionTypeFlowBaseCand(TypeFlowNode n, RefType t, boolean exact
651651
}
652652

653653
/**
654-
* Holds if `ioe` checks `v`, its true-successor is `bb`, and `bb` has 2 or more
654+
* Holds if `ioe` checks `v`, its true-successor is `bb`, and `bb` has multiple
655655
* predecessors.
656656
*/
657657
private predicate instanceofDisjunct(InstanceOfExpr ioe, BasicBlock bb, BaseSsaVariable v) {
@@ -660,7 +660,7 @@ private predicate instanceofDisjunct(InstanceOfExpr ioe, BasicBlock bb, BaseSsaV
660660
exists(ConditionBlock cb | cb.getCondition() = ioe and cb.getTestSuccessor(true) = bb)
661661
}
662662

663-
/** Holds if `bb` is disjunctively guarded by two or more `instanceof` tests on `v`. */
663+
/** Holds if `bb` is disjunctively guarded by multiple `instanceof` tests on `v`. */
664664
private predicate instanceofDisjunction(BasicBlock bb, BaseSsaVariable v) {
665665
strictcount(InstanceOfExpr ioe | instanceofDisjunct(ioe, bb, v)) =
666666
strictcount(bb.getABBPredecessor())

0 commit comments

Comments
 (0)