From 05cdcc77df91b9c13d5525fec742faf8ebb2fdb9 Mon Sep 17 00:00:00 2001 From: michaeloffner Date: Tue, 17 Dec 2024 16:40:53 +0100 Subject: [PATCH] fix main class --- loader/src/main/java/lucee/runtime/script/Main.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/loader/src/main/java/lucee/runtime/script/Main.java b/loader/src/main/java/lucee/runtime/script/Main.java index 90fc59b3d0..fcaef85491 100644 --- a/loader/src/main/java/lucee/runtime/script/Main.java +++ b/loader/src/main/java/lucee/runtime/script/Main.java @@ -28,9 +28,6 @@ public static void main(final String args[]) throws Exception { final int dialect = CFMLEngine.DIALECT_CFML; if (code == null) printUsage("-e is missing", System.err); - final LuceeScriptEngineFactory factory = new LuceeScriptEngineFactory(); - System.out.println(factory.getScriptEngine().eval(code)); - final ScriptEngine engine = new ScriptEngineManager().getEngineByName(lang); if (engine == null) System.out.println("could not load an engine with the name:" + lang); else System.out.println(engine.eval(code));