You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@jena.apache.org by "afs (via GitHub)" <gi...@apache.org> on 2023/03/23 13:15:44 UTC

[GitHub] [jena] afs commented on a diff in pull request #1809: Some refinement of the scripting support.

afs commented on code in PR #1809:
URL: https://github.com/apache/jena/pull/1809#discussion_r1146182168


##########
jena-arq/src/main/java/org/apache/jena/sparql/function/scripting/ScriptFunction.java:
##########
@@ -37,20 +36,26 @@
 import org.apache.jena.atlas.lib.PoolSync;
 import org.apache.jena.query.ARQ;
 import org.apache.jena.riot.RiotNotFoundException;
-import org.apache.jena.sparql.expr.ExprEvalException;
-import org.apache.jena.sparql.expr.ExprList;
-import org.apache.jena.sparql.expr.ExprUndefFunction;
-import org.apache.jena.sparql.expr.NodeValue;
+import org.apache.jena.sparql.expr.*;
 import org.apache.jena.sparql.function.FunctionBase;
-import org.apache.jena.sparql.sse.builders.SSE_ExprBuildException;
 
 public class ScriptFunction extends FunctionBase {
+
 	static {
-        System.setProperty("polyglot.engine.WarnInterpreterOnly", "false");
+	    System.setProperty("polyglot.engine.WarnInterpreterOnly", "false");
     }
-	
+
+	private static void checkScriptingEnabled() {

Review Comment:
   Tabs leaking in. They get everywhere!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For additional commands, e-mail: pr-help@jena.apache.org