Remove unused variable
Project: http://git-wip-us.apache.org/repos/asf/jena/repo Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/42ea0768 Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/42ea0768 Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/42ea0768 Branch: refs/heads/master Commit: 42ea07686839a60d8e820821c834b85112b0fd69 Parents: 94921dc Author: Andy Seaborne <[email protected]> Authored: Sun Dec 17 20:51:39 2017 +0000 Committer: Andy Seaborne <[email protected]> Committed: Sun Dec 17 20:51:39 2017 +0000 ---------------------------------------------------------------------- .../java/org/apache/jena/sparql/function/library/FN_Error.java | 2 -- 1 file changed, 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/jena/blob/42ea0768/jena-arq/src/main/java/org/apache/jena/sparql/function/library/FN_Error.java ---------------------------------------------------------------------- diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/function/library/FN_Error.java b/jena-arq/src/main/java/org/apache/jena/sparql/function/library/FN_Error.java index 718ba06..3eaba83 100644 --- a/jena-arq/src/main/java/org/apache/jena/sparql/function/library/FN_Error.java +++ b/jena-arq/src/main/java/org/apache/jena/sparql/function/library/FN_Error.java @@ -49,8 +49,6 @@ public class FN_Error extends FunctionBase { // The contract on the function interface is that this should not happen. throw new ARQInternalErrorException("FunctionBase1: Null args list") ; - int size = args.size(); - switch(args.size()) { case 0: throw new ExprEvalException();
