This is an automated email from the ASF dual-hosted git repository. andy pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/jena.git
commit 6c38b49feffb3851e67636863a19a5f324b6b44f Author: Andy Seaborne <a...@apache.org> AuthorDate: Tue Oct 22 11:13:07 2024 +0100 (forRemoval = true) on QueryExecDatasetBuilder.initialBinding --- .../main/java/org/apache/jena/sparql/exec/QueryExecDatasetBuilder.java | 2 +- .../apache/jena/sparql/syntax/syntaxtransform/TransformElementLib.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/exec/QueryExecDatasetBuilder.java b/jena-arq/src/main/java/org/apache/jena/sparql/exec/QueryExecDatasetBuilder.java index a080f9a8e5..eb0f705366 100644 --- a/jena-arq/src/main/java/org/apache/jena/sparql/exec/QueryExecDatasetBuilder.java +++ b/jena-arq/src/main/java/org/apache/jena/sparql/exec/QueryExecDatasetBuilder.java @@ -158,7 +158,7 @@ public class QueryExecDatasetBuilder implements QueryExecMod, QueryExecBuilder { } /** Use {@link #substitution(Binding)} */ - @Deprecated + @Deprecated(forRemoval = true) public QueryExecDatasetBuilder initialBinding(Binding binding) { this.initialBinding = binding; return this; diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/syntax/syntaxtransform/TransformElementLib.java b/jena-arq/src/main/java/org/apache/jena/sparql/syntax/syntaxtransform/TransformElementLib.java index d3b4d568be..d458415625 100644 --- a/jena-arq/src/main/java/org/apache/jena/sparql/syntax/syntaxtransform/TransformElementLib.java +++ b/jena-arq/src/main/java/org/apache/jena/sparql/syntax/syntaxtransform/TransformElementLib.java @@ -39,7 +39,7 @@ public class TransformElementLib { Expr e = exprTransform.transform(expr); if ( e instanceof ExprVar ) return ((ExprVar)e).asVar(); - throw new InternalErrorException("Managed to turn a variable " + v + " into " + e); + throw new InternalErrorException("Managed to turn an assigned variable " + v + " into " + e); } public static Node apply(Node n, ExprTransform exprTransform) {