Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2a6e866

Browse files
committed
Improve qldoc
1 parent e5fdf4d commit 2a6e866

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

java/ql/lib/semmle/code/java/Statement.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ class ConstCase extends SwitchCase {
514514
Expr getValue() { result.isNthChildOf(this, 0) }
515515

516516
/**
517-
* Gets the `case` constant at the specified index.
517+
* Gets the `case` constant at index `i`.
518518
*/
519519
Expr getValue(int i) { result.isNthChildOf(this, i) and i >= 0 }
520520

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ private predicate instanceOfGuarded(Expr e, RefType t) {
441441
}
442442

443443
/**
444-
* Holds if `va` is an access to a value that is guarded by `case T t`.
444+
* Holds if `e` is an access to a value that is guarded by `case T t`.
445445
*/
446446
private predicate patternCaseGuarded(Expr e, RefType t) {
447447
exists(PatternCase pc |

0 commit comments

Comments
 (0)