From 32fe12a6dd6151c6688836626c69fbf3e2cf77e3 Mon Sep 17 00:00:00 2001 From: Anders Schack-Mulligen Date: Thu, 5 Feb 2026 08:51:27 +0100 Subject: [PATCH] Java: Delay deprecation a bit. --- java/ql/lib/semmle/code/java/Statement.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/ql/lib/semmle/code/java/Statement.qll b/java/ql/lib/semmle/code/java/Statement.qll index d71a678d669..b74489e24f4 100644 --- a/java/ql/lib/semmle/code/java/Statement.qll +++ b/java/ql/lib/semmle/code/java/Statement.qll @@ -646,7 +646,7 @@ class ReturnStmt extends Stmt, @returnstmt { * * Gets the expression returned by this `return` statement, if any. */ - deprecated Expr getResult() { result.getParent() = this } + Expr getResult() { result.getParent() = this } /** Gets the expression returned by this `return` statement, if any. */ Expr getExpr() { result.getParent() = this }