From 2c595417f1e60db1ce2380ac7245da2a558cb5e9 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Mon, 25 Nov 2024 17:14:35 +0000 Subject: [PATCH] KE2: Don't actually deprecate WhenBranch.getCondition() yet It makes a lot of noise in the CFG QLL, that we aren't fixing yet --- java/ql/lib/semmle/code/java/Expr.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/ql/lib/semmle/code/java/Expr.qll b/java/ql/lib/semmle/code/java/Expr.qll index 7bf70d7f447f..12c5c43eb379 100644 --- a/java/ql/lib/semmle/code/java/Expr.qll +++ b/java/ql/lib/semmle/code/java/Expr.qll @@ -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() }