1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-02 00:15:02 -04:00

Look into custom script names (for exception stacktraces) but keep as it is for now to avoid unnecessary complexity/magic

e.g.
public Class parseClass(String text, String fileName) throws CompilationFailedException {
	return super.parseClass(text, "amc");
}
This commit is contained in:
Reinhard Pointner 2016-06-19 23:59:27 +08:00
parent ea543491b6
commit 09b41170fd
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@
<classpathentry kind="lib" path="lib/ivy/jar/slf4j-api.jar"/>
<classpathentry kind="lib" path="lib/ivy/jar/commons-io.jar" sourcepath="lib/ivy/source/commons-io.jar"/>
<classpathentry kind="lib" path="lib/ivy/jar/jsoup.jar"/>
<classpathentry kind="lib" path="lib/ivy/jar/groovy-all.jar"/>
<classpathentry kind="lib" path="lib/ivy/jar/groovy-all.jar" sourcepath="lib/ivy/source/groovy-all.jar"/>
<classpathentry kind="lib" path="lib/ivy/jar/slf4j-jdk14.jar"/>
<classpathentry kind="lib" path="lib/ivy/jar/hamcrest-core.jar"/>
<classpathentry kind="lib" path="lib/jars/ObjCBridge.jar"/>

View File

@ -57,7 +57,7 @@ public class ScriptShell {
return new GroovyScriptEngineImpl(classLoader);
}
public Object evaluate(final String script, final Bindings bindings) throws Throwable {
public Object evaluate(String script, Bindings bindings) throws Throwable {
try {
return engine.eval(script, bindings);
} catch (Throwable e) {