Skip to content

Commit

Permalink
KE2: Don't actually deprecate WhenBranch.getCondition() yet
Browse files Browse the repository at this point in the history
It makes a lot of noise in the CFG QLL, that we aren't fixing yet
  • Loading branch information
igfoo committed Nov 25, 2024
1 parent 86ddb3b commit 2c59541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/ql/lib/semmle/code/java/Expr.qll
Original file line number Diff line number Diff line change
Expand Up @@ -2603,7 +2603,7 @@ class WhenBranch extends Stmt, @whenbranch {
*
* Gets the condition of this branch.
*/
deprecated Expr getCondition() {
/* TODO: deprecated */ Expr getCondition() {
result = this.getCondition(0).(WhenBranchConditionWithExpression).getExpression()
}

Expand Down

0 comments on commit 2c59541

Please sign in to comment.